問題原因:
我的python是放在C盤的,而我的django項目是放在D盤的,直接執行python manage.py runserver,他找的是C盤的manage.py。
解決方法:
1.指定項目路徑
python D:\py\test2\mysite\manage.py runserver
2.cd mysite目錄
問題原因:
我的python是放在C盤的,而我的django項目是放在D盤的,直接執行python manage.py runserver,他找的是C盤的manage.py。
解決方法:
1.指定項目路徑
python D:\py\test2\mysite\manage.py runserver
2.cd mysite目錄
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。