django – python: cant open file manage.py: [Errno 2] No such file or directory

django – python: cant open file manage.py: [Errno 2] No such file or directory

manage.py should live in the root project folder, so if you cd into C:Users/arpchauh/PycharmProjects/post_blog, you should be able to run the command.

Your manage.py file should be located in the root directory of the project. You need to be in the directory that manage.py is in.

django – python: cant open file manage.py: [Errno 2] No such file or directory

The manage.py file must be available at the root of the project folder. If it is in any sub-directory, itll give you error.
If you are limited to keeping the file in the sub-directory, you can change the permission of folder, so the python cli can read it.

Leave a Reply

Your email address will not be published.