From: | zaidagilist <zaidagilist(at)gmail(dot)com> |
---|---|
To: | Daulat <daulat(dot)dba(at)gmail(dot)com> |
Cc: | pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgAdmin 4 in web mode on an Ubuntu 20.04 (Focal) system. |
Date: | 2025-05-22 09:08:02 |
Message-ID: | CAFS1Kf4QxC23sUe1u1-MRt8ByBM_nVbvvnAx269az4cSGKJXkQ@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers pgsql-admin |
Hello Daulat,
I just ran the pgAdmin4 setup on my Ubuntu VM and followed the steps
mentioned at this link <https://www.pgadmin.org/download/pgadmin-4-apt/>.
The installation and setup worked fine on my end. In my environment, Python
3.10.12 is installed.
Regards,
Zaid
On Thu, May 15, 2025 at 2:19 PM Daulat <daulat(dot)dba(at)gmail(dot)com> wrote:
> Hello Team,
>
> I am currently facing an issue while installing pgAdmin 4 in web mode on
> an Ubuntu 20.04 (Focal) system.
>
> Error:
>
> /usr/pgadmin4/venv/bin/python3: can't open file
> '/usr/pgadmin4/web/setup.py': [Errno 2] No such file or directory
>
> ls -l /usr/pgadmin4
> total 24
> drwxr-xr-x 4 root root 4096 May 15 09:01 bin
> -rw-r--r-- 1 root root 11206 Apr 2 10:26 sbom-desktop.json
> -rw-r--r-- 1 root root 474 Apr 2 10:26 sbom-web.json
> drwxr-xr-x 6 root root 4096 May 15 08:58 venv
>
> Since the pgAdmin installation did not automatically create the required
> virtual environment, I manually set it up using python3.8 -m venv
> /usr/pgadmin4/venv, but the setup still fails due to a missing setup.py
> file in /usr/pgadmin4/web/
>
> sudo python3.8 -m venv /usr/pgadmin4/venv
> source /usr/pgadmin4/venv/bin/activate
>
> I followed the following steps from
> https://www.pgadmin.org/download/pgadmin-4-apt/
>
> Please advise.
>
> Thanks,
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Aditya Toshniwal | 2025-05-22 10:07:42 | Re: Open preferences in new tab |
Previous Message | Usman Khan | 2025-05-22 07:46:25 | Re: Open preferences in new tab |
From | Date | Subject | |
---|---|---|---|
Next Message | Daulat | 2025-05-22 12:25:12 | Re: pgAdmin 4 in web mode on an Ubuntu 20.04 (Focal) system. |
Previous Message | Bruce Momjian | 2025-05-21 21:27:58 | Re: Stop sending |