mod_wsgi isn't honoring WSGIPythonHome

后端 未结 1 416
我在风中等你
我在风中等你 2020-12-06 00:44

I\'m trying to get WSGI to run with a virtualenv setup. I have the virtualenv all working right:

(virtualenv)dev:/var/www/app$ which python
/var/www/virtuale         


        
相关标签:
1条回答
  • 2020-12-06 01:47

    Your mod_wsgi is likely compiled against a different Python version than you are trying to force it to use. For example, you can not use mod_wsgi compiled against Python 2.4 with a virtual environment constructed using Python 2.6.

    Validate what version of Python mod_wsgi was built for in the first place.

    0 讨论(0)
提交回复
热议问题