我猜这个项目正在pycharm 3.3上工作.假期过后,当我回到工作岗位时,pyCharm提示最新更新.我更新了pyCharm,现在我无法运行以前的Django项目,以前工作正常.这是pycharm控制台上的堆栈跟踪
bash -cl "/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm.app/helpers/pycharm/django_manage.py runserver /Users/sridhar/Documents/python_workspace/django_formsets"
Traceback (most recent call last):
File "/Applications/PyCharm.app/helpers/pycharm/django_manage.py", line 23, in <module>
run_module(manage_file, None, '__main__', True)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 170, in run_module
mod_name, loader, code, fname = _get_module_details(mod_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 103, in _get_module_details
raise ImportError("No module named %s" % mod_name)
ImportError: No module named manage
Process finished with exit code 1
最佳答案 在文件>>设置>>
>>>项目翻译:检查你的翻译是否正确并有django包
>>> Django:检查您的项目根目录,设置和管理脚本路径是否正确.