Home > Software design >  Why does python manage.py run server return manage.py': [Errno 2] No such file or directory in
Why does python manage.py run server return manage.py': [Errno 2] No such file or directory in

Time:06-08

Why does this code: python manage.py run server return manage.py': [Errno 2] No such file or directory in windows 10

CodePudding user response:

If you wanna run Django server you can try one of this command:

python manage.py runserver

or

py manage.py runserver 8000

for read about available commands check the django documentation

CodePudding user response:

if you are working in  a new python environment make sure that you have activated the environment.
Then move to the directory which contains the manage.py. 
Then try 
python manage.py runserver
or 
python manage.py runserver 8000
  • Related