From b8ec021a07a1e7e9dbfc88d5a5a8267a83d00a44 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 3 Oct 2022 13:35:31 +0100 Subject: [PATCH] Add a note about sys.executable potentially needing "help" under WSGI runners. See #5340. --- docs/en_US/server_deployment.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/en_US/server_deployment.rst b/docs/en_US/server_deployment.rst index a268b4234..c760bd83d 100644 --- a/docs/en_US/server_deployment.rst +++ b/docs/en_US/server_deployment.rst @@ -300,3 +300,12 @@ Then, configure NGINX: include uwsgi_params; uwsgi_pass unix:/tmp/pgadmin4.sock; } + +Additional Information +---------------------- + +.. note:: pgAdmin will spawn additional Python processes from time to time, and + relies on the *sys.executable* variable in Python to do this. In some cases, + you may need to override that value to ensure the correct interpreter is + used, instead of the WSGI host process. For example, uWSGI offers the + *--py-sys-executable* command line option to achieve this. \ No newline at end of file