cannot open manage.py after installing django

后端 未结 13 1064
暗喜
暗喜 2021-02-04 11:23

I have a problem in setting up django.

My situation: I have Anaconda Python 2.7 in my Windows 8 computer. On the Anaconda command prompt window, I type: pip instal

13条回答
  •  囚心锁ツ
    2021-02-04 12:20

    That can happen because manage.py doesn't have permissions. Check the existence of manage.py throughout newproject, If exist you can fix it with:

    $cd newproject
    $chmod +x manage.py
    

    Finally, try to execute python manage.py runserver

提交回复
热议问题