简体   繁体   中英

Heroku foreman start command stuck in virtualenv while attempting to run Django project

I am trying to implement Django Heroku tutorial https://devcenter.heroku.com/articles/getting-started-with-django

python manage.py runserver works fine both outside and inside virtualenv

foreman start works fine outside virtualenv

foreman start inside virtualenv the command either stucks on first line or ends with code 1

13:29:08 web.1  | started with pid 4231
13:29:13 web.1  | exited with code 1
13:29:13 system | sending SIGTERM to all processes 

Upd:

Procfile

web: gunicorn cell_modelling_site.wsgi

I had faced slimier issue . And I resolved it by installing gunicorn==0.16.1 using pip. Hope this will resolve your problem too....

Replace existing gunicorn by gunicorn==0.16.1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM