Answer the question
In order to leave comments, you need to log in
What is the path for Python in WSGIDaemonProcess?
Hello.
I install pgAdmin 4. There is an example conf-file in the manual.
<VirtualHost *>
ServerName pgadmin.example.com
WSGIDaemonProcess pgadmin processes=1 threads=25 python-home=/path/to/python/virtualenv
WSGIScriptAlias / /opt/pgAdmin4/web/pgAdmin4.wsgi
<Directory /opt/pgAdmin4/web>
WSGIProcessGroup pgadmin
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
If you only have pgadmin then you can use system python and remove python-home=/path/to/python/virtualenv . In fact, this is the path where all the necessary python libraries for this instance / virtual server are located. When several different projects work on the same server and use different sets of libraries, it is best to separate them through virtualenv. Each virtualenv can only contain the required libraries for a particular project.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question