makemigrations时出现报错
来源:2-6 让工程在ubuntu上run起来
Arv1n824
2018-04-12
执行/opt/python2.7/bin/python2.7 ./manage.py makemigrations后出现如下报错
Traceback (most recent call last):
File "./manage.py", line 13, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
写回答
1回答
-
Jeson
2018-04-13
Django是否有安装成功。
如果有安装的话,升级下:pip install --upgrade django 试试
022018-04-13
相似问题