【发布时间】:2018-02-22 22:56:11
【问题描述】:
我已经在pycharm中配置了virtualenv,在使用python manage.py命令时,出现如下错误:
E:\video course\Python\code\web_worker\MxOnline>python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 17, in <module>
"Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
我应该如何解决它,我已经安装了 django。
【问题讨论】:
-
尝试使用python3。它对我有用。
-
重新安装 Django 就可以了
标签: django