Thread: Error con pgadmin4
Hello, very good, I have a problem with pgadmin4 when running pgadmin4, the OS I am using is arch linux: pgadmin4
Traceback (most recent call last): File "/home/mati/pgadmin4/pgadmin4-env/bin/pgadmin4", line 5, in <module> from pgadmin4.pgAdmin4 import main File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/pgAdmin4.py", line 38, in <module> import config File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/config.py", line 25, in <module> from pgadmin.utils import env, IS_WIN, fs_short_path File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/pgadmin/__init__.py", line 26, in <module> from flask_babel import Babel, gettext File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/flask_babel/__init__.py", line 17, in <module> from flask.helpers import locked_cached_property
ImportError: cannot import name 'locked_cached_property' from 'flask.helpers' (/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/flask/helpers.py)
I eagerly await your response, thank you very much.
Hi,
From where did you download the pgadmin installer? It seems the installation is incomplete.
Note - pgAdmin4 is not officially tested on arch linux.
Thanks,
Yogesh Mahajan
EnterpriseDB
On Mon, Sep 9, 2024 at 4:51 PM Vega Matias <vega98790@gmail.com> wrote:
Hello, very good, I have a problem with pgadmin4 when running pgadmin4, the OS I am using is arch linux: pgadmin4 Traceback (most recent call last): File "/home/mati/pgadmin4/pgadmin4-env/bin/pgadmin4", line 5, in <module> from pgadmin4.pgAdmin4 import main File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/pgAdmin4.py", line 38, in <module> import config File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/config.py", line 25, in <module> from pgadmin.utils import env, IS_WIN, fs_short_path File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/pgadmin/__init__.py", line 26, in <module> from flask_babel import Babel, gettext File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/flask_babel/__init__.py", line 17, in <module> from flask.helpers import locked_cached_property ImportError: cannot import name 'locked_cached_property' from 'flask.helpers' (/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/flask/helpers.py)
I eagerly await your response, thank you very much.
Hi,
Issue is with pip. Kindly use the pip version below 24.1 and try again.
Thanks,
Yogesh Mahajan
EnterpriseDB
On Mon, Sep 9, 2024 at 6:15 PM Vega Matias <vega98790@gmail.com> wrote:
Hi Yogesh, I downloaded pgadmin4 from aur because other modes gave me an error.
So I looked for an alternative since all the pages and guides on the internet told me to download it the same way. and I asked chatgpt and it told me to download it from there. This is one of the pages I followed as a guide and it gave me an error when running pip: https://ravinderfzk.medium.com/install-postgresql-and-pgadmin4-in-arch-linux-eb013b45540fThis is the error that pip caused me:El lun, 9 sept 2024 a las 8:43, Yogesh Mahajan (<yogesh.mahajan@enterprisedb.com>) escribió:Hi,From where did you download the pgadmin installer? It seems the installation is incomplete.Note - pgAdmin4 is not officially tested on arch linux.Thanks,Yogesh MahajanEnterpriseDBOn Mon, Sep 9, 2024 at 4:51 PM Vega Matias <vega98790@gmail.com> wrote:Hello, very good, I have a problem with pgadmin4 when running pgadmin4, the OS I am using is arch linux: pgadmin4 Traceback (most recent call last): File "/home/mati/pgadmin4/pgadmin4-env/bin/pgadmin4", line 5, in <module> from pgadmin4.pgAdmin4 import main File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/pgAdmin4.py", line 38, in <module> import config File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/config.py", line 25, in <module> from pgadmin.utils import env, IS_WIN, fs_short_path File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/pgadmin4/pgadmin/__init__.py", line 26, in <module> from flask_babel import Babel, gettext File "/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/flask_babel/__init__.py", line 17, in <module> from flask.helpers import locked_cached_property ImportError: cannot import name 'locked_cached_property' from 'flask.helpers' (/home/mati/pgadmin4/pgadmin4-env/lib/python3.12/site-packages/flask/helpers.py)
I eagerly await your response, thank you very much.