cannot open manage.py after installing django

后端 未结 13 1094
暗喜
暗喜 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 11:58

    The reason of this problem is because you're in the first project directory "parent directory", and you have to go to your project "newproject" that has the manage.py file.

    The way to this is simple:

    1. cd "name of your project", E.g. cd newproject

    2. python manage.py runserver

提交回复
热议问题