cannot open manage.py after installing django

后端 未结 13 1099
暗喜
暗喜 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:01

    You should navigate to the inner directory where your manage.py resides. For example: If you have created projectname as Django-admin startproject loginapp

    Step 1: Go to loginapp
    Step 2: Click on it
    Step 3: You will find another loginapp and manage.py folder inside that
    Step 4: Use this rootpath commandprompt
    Step 5: Enter py manage.py runserver
    Now it will work

提交回复
热议问题