skip to Main Content

pgAdmin Runtime Environment

Python Path: "/usr/pgadmin4/venv/bin/python3"
Runtime Config File: "/home/julien/.config/pgadmin/runtime_config.json"
pgAdmin Config File: "/usr/pgadmin4/web/config.py"
Webapp Path: "/usr/pgadmin4/web/pgAdmin4.py"
pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py"
Environment:

  • GJS_DEBUG_TOPICS: JS ERROR;JS LOG
  • LC_TIME: fr_FR.UTF-8
  • USER: julien
  • XDG_SESSION_TYPE: wayland
  • SHLVL: 0
  • HOME: /home/julien
  • OLDPWD: /home/julien
  • DESKTOP_SESSION: ubuntu
  • GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/pgadmin4.desktop
  • GTK_MODULES: gail:atk-bridge
  • GNOME_SHELL_SESSION_MODE: ubuntu
  • LC_MONETARY: fr_FR.UTF-8
  • MANAGERPID: 2723
  • DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
  • GIO_LAUNCHED_DESKTOP_FILE_PID: 409396
  • WAYLAND_DISPLAY: wayland-0
  • LOGNAME: julien
  • _: /usr/bin/gnome-session
  • rvm_bin_path: /usr/share/rvm/bin
  • JOURNAL_STREAM: 8:37688
  • XDG_SESSION_CLASS: user
  • USERNAME: julien
  • GNOME_DESKTOP_SESSION_ID: this-is-deprecated
  • PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/usr/share/rvm/bin
  • SESSION_MANAGER: local/sunchain:@/tmp/.ICE-unix/2935,unix/sunchain:/tmp/.ICE-unix/2935
  • INVOCATION_ID: b0a4bd7f387b4b94b2d1ad6290b4faa6
  • LC_ADDRESS: fr_FR.UTF-8
  • XDG_RUNTIME_DIR: /run/user/1000
  • XDG_MENU_PREFIX: gnome-
  • GNOME_SETUP_DISPLAY: :1
  • DISPLAY: :0
  • LANG: en_US.UTF-8
  • LC_TELEPHONE: fr_FR.UTF-8
  • XDG_CURRENT_DESKTOP: ubuntu:GNOME
  • XDG_SESSION_DESKTOP: ubuntu
  • XMODIFIERS: @im=ibus
  • XAUTHORITY: /run/user/1000/.mutter-Xwaylandauth.OGNI80
  • SSH_AGENT_LAUNCHER: gnome-keyring
  • SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
  • LC_NAME: fr_FR.UTF-8
  • SHELL: /usr/bin/zsh
  • QT_ACCESSIBILITY: 1
  • GDMSESSION: ubuntu
  • rvm_prefix: /usr/share
  • LC_MEASUREMENT: fr_FR.UTF-8
  • LC_IDENTIFICATION: fr_FR.UTF-8
  • rvm_version: 1.29.12 (manual)
  • GJS_DEBUG_OUTPUT: stderr
  • QT_IM_MODULE: ibus
  • PWD: /home/julien
  • XDG_DATA_DIRS: /usr/local/share/:/usr/share/:/var/lib/snapd/desktop
  • LC_NUMERIC: fr_FR.UTF-8
  • LC_PAPER: fr_FR.UTF-8
  • rvm_path: /usr/share/rvm
  • GDK_BACKEND: x11
  • NO_AT_BRIDGE: 1
  • PGADMIN_INT_PORT: 34035
  • PGADMIN_INT_KEY: dbb4e565-1e23-474d-bd74-c3d8606022cc
  • PGADMIN_SERVER_MODE: OFF

Failed to launch pgAdmin4. Error:
Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT

3

Answers


  1. Chosen as BEST ANSWER

    I have handle the error to switch pyhton3.10 to python3.9 and error fixed.

    Just track the steps:

    1. Install python3.9

    2. Switch 3.10 to 3.9

    You can use the link to do these steps.

    https://www.how2shout.com/linux/install-python-3-9-or-3-8-on-ubuntu-22-04-lts-jammy-jellyfish/


  2. I faced this issue when I updated the packages after upgrading to Ubuntu 22.04

    Save your time and simply reinstall pgAdmin 4

    Link to official doc and follow the simple steps (mentioned at the bottom)

    Login or Signup to reply.
  3. In my case, I updated Ubuntu 20 to 22 and the Postgres stopped working with the above-mentioned error.

    So downgrading from Python 3.10 to 3.9 or 3.8 worked.

    follow the steps here, https://www.how2shout.com/linux/install-python-3-9-or-3-8-on-ubuntu-22-04-lts-jammy-jellyfish/

    Thanks

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search