Deployment Issue: No module named gunicorn in prediction_tool_project
c
chelinjuly
Hello Render Team,
I am experiencing a persistent deployment failure for my web service:
prediction_tool_project
(username: Cheline2424).The build process completes successfully, and
gunicorn
is shown as installed in the build logs. However, the deployment fails with the error: /usr/local/bin/python: No module named gunicorn
.Here are the relevant log excerpts:
WARNING: There was an error checking the latest version of pip...
Build successful
Deploying...
Running
/usr/local/bin/python -m gunicorn --worker-class eventlet -w 1 app:app
/usr/local/bin/python: No module named gunicorn
Exited with status 1
My
requirements.txt
includes gunicorn
. I have also tried various "Start Command" configurations, such as gunicorn app:app
, python -m gunicorn app:app
, and /usr/local/bin/python -m gunicorn app:app
. I always perform "Clear build cache & Deploy" after each change.Could you please investigate why Gunicorn is not being found in the runtime environment despite being installed during the build? This issue is preventing my application from going live.
Thank you for your assistance.
Best regards,
Cheline2424
Log In