Hey there,
Upon deploying to an existing Python3 web service, I’ve found that it cannot find gunicorn anymore, which means the deploy fails. Any chance that anyone has a suggestion? Looking to avoid re-creating the web service again if possible.
Hey there,
Upon deploying to an existing Python3 web service, I’ve found that it cannot find gunicorn anymore, which means the deploy fails. Any chance that anyone has a suggestion? Looking to avoid re-creating the web service again if possible.
Hi Ben,
Happy to help you with this, I’m sending you a message to get some more info.
Facing the same issue. If this was resolved, can either of you share details?
just add :
gunicorn==19.7.1
to requirements.txt and deploy it again. It works for me
This won’t help. Although I froze the requirements.txt, it still gives the same error.
I had the same issue, it actually was that I got the requirement file duplicated, check that
You need to install gunicorn and update it in your requirements.txt file. Example: pip3 install psycopg2 gunicorn && pip3 freeze > requirements.txt
Then push your work to GitHub. It should work.
I’ve tried pretty much everything that I can think of, I’ve followed different solutions online but the issue still persists. I don’t know what else to do
Try following command :
export PATH=$PATH:/usr/local/python3/bin
Thank you for the response. Should I put that in the terminal or as an env variable in render?
It works !..Thanks a lot dude.
I added this to the start command in settings
export PATH=$PATH:/usr/local/python3/bin && pip install gunicorn && gunicorn app:app
It Worked!!!
Thanks!!
It´s alive, it´s aliiive lol. Thanks dude, it work for me too.