root@probot:/# python manage.py db init
python: can’t open file ‘manage.py’: [Errno 2] No such file or directory
I also made a request in requirements.txt to django1.9.7 (./var/lib/herokuish/buildpacks/buildpack-python/tests/python-django/requirements.txt)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
It seems like you’re trying to access manage.py from the root of the filesystem. Dokku has most likely placed your application’s files somewhere else. Assuming that the path /var/lib/herokuish/buildpacks/buildpack-python/tests/python-django/requirements.txt is on the container, manage.py should also be in the same directory. So, you will need to go to that directory first:
and then run manage.py:
python manage.py db init
Join 1M+ other developers and: