Is it possible to configure uwsgi to use multiple python paths?
I have defined a python path in my uwsgi.ini file, but I need to also use a code from a second python project. My current python path configuration:
pythonpath = /Users/vingtoft/Documents/Development/archii/server/archii2/app/
There are seem to be at least 4 ways to achieve that:
pythonpath
twice in uwsgi.ini; --pythonpath
argument to uwsgi command twice; PYTHONPATH
environment variable with paths concatenated with a colon; sys.path
somewhere in your code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.