當創建管理員時就會出現這個錯誤。但是昨天還好好的
Traceback (most recent call last):
File "manage.py", line 11, in main
from django.core.management import execute_from_command_line
ImportError: No module named 'django'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 22, in <module>
main()
File "manage.py", line 17, in main
) from exc
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存在

網上也找不到,求救
uj5u.com熱心網友回復:
pip3 install django轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/265210.html
標籤:專題技術討論區
上一篇:求助
下一篇:cp大檔案系統卡頓
