WSGIScriptAlias / <PATH_TO_PROJECT>/hellodjango/hellodjango/wsgi.pyWSGIPythonPath <PATH_TO_PROJECT>:<PATH_TO_VIRTUALENV>/Lib/site-packages<Directory <PATH_TO_PROJECT>/hellodjango/hellodjango> <Files wsgi.py> Order deny,allow Require all granted </Files></Directory>希望这会有所帮助.它对我有用.Hope this helps. It worked for me. 这篇关于导入错误:没有名为 django.core.wsgi 的模块 Apache + VirtualEnv + AWS + WSGI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 阿里云证书,YYDS!
05-23 21:00