Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 5979  / 1 Year ago, tue, january 3, 2023, 2:17:10

While trying to launch pgAdmin4, I receive the following error:


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

This is the 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

How can I fix this issue?


More From » 22.04

 Answers
6

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


Just track the steps:


Install python3.9

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/


or you just should reinstall pgAdmin4.


[#282] Thursday, January 5, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rryble

Total Points: 489
Total Questions: 121
Total Answers: 119

Location: Marshall Islands
Member since Mon, May 31, 2021
3 Years ago
rryble questions
Thu, Jan 5, 23, 18:10, 1 Year ago
Wed, Aug 11, 21, 07:19, 3 Years ago
Fri, Jul 23, 21, 00:13, 3 Years ago
Tue, Feb 8, 22, 08:00, 2 Years ago
;