Re: The pgAdmin 4 server could not be contacted

Поиск
Список
Период
Сортировка
От Akshay Joshi
Тема Re: The pgAdmin 4 server could not be contacted
Дата
Msg-id CANxoLDf794gMtdOVCcS5CBp+XHzr0B3=SbMov=K6saKEESvxpg@mail.gmail.com
обсуждение исходный текст
Ответ на The pgAdmin 4 server could not be contacted  (carlos alves <calvesmitnick@gmail.com>)
Список pgadmin-support
Hi Carlos

Before running the command have you activated the virtual environment? You need to create a virtual environment and run "pip install -r requirements.txt" command. 

On Fri, Oct 1, 2021 at 5:22 AM carlos alves <calvesmitnick@gmail.com> wrote:
Hi all,
I can't get to start pgAdmin4 server mode by the command
"/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py".

I just get the error
"ModuleNotFoundError: No module named 'httpagentparser' "

ps.: module httpagentparser is installed.
I just got success if a hit the command without the option
'-s' to python3, like this:
"/usr/pgadmin4/venv/bin/python3 /usr/pgadmin4/web/pgAdmin4.py"

But the real problem is I can't start pgadmin4 in desktop mode,
because it seems the pgdamin executable uses that command line
automatically
and crash with the error:
"The pgAdmin 4 server could not be contacted"
"ModuleNotFoundError: No module named 'httpagentparser' "

Any help to solve this problem or workaround it!

Thanks in advance.
Carlos Alberto




--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246

В списке pgadmin-support по дате отправления:

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: Admin4 is frozen
Следующее
От: jeniffer wambugu
Дата:
Сообщение: Pgadmin Issue