I need, but not even django not found on container. Installed with dokku 0.8

root@probot:/# python db init python: can’t open file ‘’: [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)

please help.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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 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, should also be in the same directory. So, you will need to go to that directory first:

cd /var/lib/herokuish/buildpacks/buildpack-python/tests/python-django/

and then run

python db init