*** Operational MODE: preforking *** added /usr/local/python3.5b/python3.5/site-packages to pythonpath. Traceback (most recent call last): File "./teamvision/web_wsgi.py", line 7, in <module> from django.core.wsgi import get_wsgi_application ImportError: No module named 'django' unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 376163) spawned uWSGI worker 1 (pid: 376164, cores: 1) spawned uWSGI worker 2 (pid: 376165, cores: 1)
时间: 2023-07-01 21:19:40 浏览: 204
完成预处理1992-2013年中国区域DMSP/OLS夜间灯光数据.zip
5星 · 资源好评率100%
这个日志表明uWSGI服务器在启动时遇到了一个错误。在第7行,web_wsgi.py文件尝试引入django.core.wsgi模块,但是找不到该模块,导致ImportError异常。这意味着您的Python环境中缺少Django模块,可以尝试安装它以解决问题。或者,您可以检查web_wsgi.py文件中的import语句是否正确,并且确保Django已正确安装并位于Python路径中。
阅读全文