[Fix for] can't open file 'manage.py': [errno 2] no such file

There might be two reasons of this error: 1. You wanted to run some django management command but you are not located in directory with manage.py script 2. You wanted to run some django management command but have not create a project yet (e.g. command which had to create a project failed) ## To find a dir with django project To check current directory type: $ pwd Output will be e.g.: /home/ivan/hinty To find where is manage.py script located: $ find -name manage.py Output will be e.g.: ./src/manage.py Then just do cd ./src and repeat your manage.py command. ## To create djngo project First, make sure you have installed django: python -m pip install Django Then run django-admin startproject mysite Check content of the folder using ls command

#django
menu 0
Ivan Borshchov profile picture
Oct 14, 2020
by Ivan Borshchov
Did it help you?
Yes !
No

Best related

Other by Ivan Borshchov