cannot open manage.py after installing django

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

    can't open file 'manage.py': [Errno 2] No such file or directory"

    here is the solution

    step 1: command -> django-admin startproject project_name

    step 2: command -> cd project_name

    step 3: command -> python manage.py startapp app_name

    try it may fix your problem

提交回复
热议问题