更新后无法在pycharm 3.4中运行django?

时间:2014-07-14 21:42:58

标签: django pycharm

我猜这个项目正在研究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

1 个答案:

答案 0 :(得分:2)

文件&gt;&gt;设置&gt;&gt;

  1. &GT;&GT; 项目口译人员:检查您的口译员是否正确并拥有django包
  2. &GT;&GT; Django:检查您的项目根目录,设置和管理脚本路径是否正确。