Setting the PYTHONPATH variable before initializing the python environment using Py_Initialize() function.
Also, add virtual environment binary path to the PATH environment variable. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4a7607445f341eb01030eacfa2f76e4541f53764 Modified Files -------------- runtime/Server.cpp | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers