[Django]-Trying to test django app locally with foreman

4👍

It looks like gunicorn isn’t installed properly on your system.
Run pip install -r requirements.txt and then manually run the gunicorn command to check it works.

👤GregB

4👍

I came to this question with the same problem finding gunicorn when running ‘foreman start’, but eventually dug up at other sources that I was not recreating the virtualenv in a new bash session. I had originally followed the instructions from Heroku, but days later with new sessions, needed to remember to run

source venv/bin/activate
👤LisaD

2👍

Had the issue – installing separately gunicorn did the trick

pip install gunicorn

1👍

I had the same issue:

sudo apt-get install libpq-dev python-dev

and then reinstalling the heroku-toolbelt solved it!

👤saptak

Leave a comment