【发布时间】:2016-09-05 08:15:27
【问题描述】:
我是 Django 的新手,我制作了一个应用程序。这是 github 存储库的链接:https://github.com/akashmalla07/spring。我按照http://tutorial.djangogirls.org/en/deploy/ 部署我的代码,在运行python manage.py migrate 时出现此错误
ImportError: No module named 'django_nose'
我在本地机器上开发时没有遇到这个问题,但是我在 PythonAnywhere 上遇到了这个问题。请帮我。在此先感谢
已编辑 遵循您的解决方案后,我收到此错误
File "/tmp/pip-build-_l_qs3mn/wsgiref/setup.py", line 5, in <module>
import ez_setup
File "/tmp/pip-build-_l_qs3mn/wsgiref/ez_setup/__init__.py", line 170
print "Setuptools version",version,"or greater has been installed."
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
build-_l_qs3mn/wsgiref/
我已经提到了其他stackoverflow解决方案,即
pip install --upgrade setuptools
但对我没有用。
【问题讨论】:
标签: python django web-deployment pythonanywhere