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

  • Step1: check the folder that manage.py is available or not 
  • Step2: If not then go to the folder where manage.py is available

Why This Error python3: can't open file 'manage.py': [Errno 2] No such file or directory

 

Don't Forget To give proper permission to your file and folder run command sudo chmod 0777 -R your python project

Solution:-You are not in the proper directory.

In this case, you  should follow the below step:

  1. mkdir yourproject (your project directory)
  2. cd yourproject
  3. python3 manage.py runserve
  4. python manage.py runserver

Use ls the command to check properly I am sure you will be missed

Use cd command to go to your correct directory where manage.py is available

 

can not open file 'manage.py' then here is the solution

step 1: command -> django-admin startproject your_project

step 2: command -> cd your_project

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

you will get a ride of "python: can't open file 'manage.py': [Errno 2] No such file or directory"

I hope you enjoy this :)