如何限制mod_wsgi

时间:2018-10-06 07:25:48

标签: python django python-3.x apache mod-wsgi

在ubuntu服务器上运行时,我的django应用程序正在使用以下路径:

sys.prefix = '/usr'
sys.path = ['/home/david/lib/python3.7/site-packages', '/usr/lib/python36.zip', '/usr/lib/python3.6', 
    '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', 
'/usr/lib/python3/dist-packages']

它最终运行python3.6(至少在获得Django错误页面时说)。我如何才能只运行python3.7?这是我在错误页面上看到的内容:

enter image description here

0 个答案:

没有答案