Traceback (most recent call last): File "manage.py", line 8, in <module> from django.core.management import execute_from_command_line ImportError: No module named ‘django‘ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "manage.py", line 14, in <module> import django ImportError: No module named ‘django‘ During handling of the above exception, another exception occurred: 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?
将pyharm文件夹下site-packages中所有的文件复制一份到python的Lib文件夹 虚拟环境中。
然后就可以在终端跑起你的项目咯
manage.py“Couldn't import Django”报错的问题解决
原文:https://www.cnblogs.com/Rivend/p/12609522.html