I enter in the command line
python manage.py runserver
then for half a second the console opens and on it:
can't open file 'manage.py': [Errno 2] No such file or dictionary.
What could be the problem?
Django - 1.6.4, Python - 3.3
I enter in the command line
python manage.py runserver
then for half a second the console opens and on it:
can't open file 'manage.py': [Errno 2] No such file or dictionary.
What could be the problem?
Django - 1.6.4, Python - 3.3
cd %project dir% && python manage.py runserver
or
chmod +x manage.py ./manage.py runserver
or another 100,500 options why the python does not see your manage.py
ps: we can not read thoughts
To start the server, it is necessary, being in the project root directory , execute the command: python manage.py runserver
.
Source: https://ru.stackoverflow.com/questions/317110/
All Articles