其他分享
首页 > 其他分享> > django部署Apache后报ModuleNotFoundError

django部署Apache后报ModuleNotFoundError

作者:互联网

解决:https://www.cnpython.com/qa/92069

再wsgi.py中添加:

sys.path.append('/home/django_projects/MyProject')
sys.path.append('/home/django_projects/MyProject/myproject')

标签:后报,django,MyProject,projects,path,Apache,home,ModuleNotFoundError,append
来源: https://www.cnblogs.com/nerd-/p/16205237.html