Hi Arne,

You are correct. You have to use setup.py located inside the app directory.
You may use other python venv but suggested would be the venv created
inside the app directory.
And yes this is CLI way to import/export the servers in addition to
functionality provided in the UI.


Thanks,
Yogesh Mahajan
EnterpriseDB


On Mon, Jan 29, 2024 at 7:30 PM Arne Brücher <arne.bruec...@zollsoft.de>
wrote:

> Hello everybody,
>
> I'm trying to import a server using the CLI/Python using the following
> docs:
>
> https://www.pgadmin.org/docs/pgadmin4/development/import_export_servers.html#importing-servers
>
> Unfortunately I don't get which path to Python and setup.py is meant.
> Do I have to activate the virtual environment in /Applications/pgAdmin\
>
> 4.app/Contents/Frameworks/Python.framework/Versions/3.11/lib/python3.11/venv
> ?
> Do I have to use the Python executable and setup.py which also can be
> found in the Application directory?
> Are the instructions linked above even meant as an addition to the
> PgAdmin GUI?
>
> Thanks in advance and with kind regards
> Arne Brücher
>
>
>
>

Reply via email to