!!!緊急!!!
我折騰了2個多小時都還沒弄好的環境問題!
我跟著書《Python編程從入門到實踐》的第十八章安裝django模塊,進行到創建資料庫的時候,在終端中輸入python manage.py.migrate,會顯示Traceback (most recent call last):
File "manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ModuleNotFoundError: 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
ModuleNotFoundError: 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?
我百度了很多 升級 環境變數都不行 都安裝了django模塊 但老是顯示沒有安裝 要給弄崩潰了,有大神能教教怎么回事
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/82315.html
標籤:非技術區
上一篇:Redis存盤什么樣的資料
