我正在尝试实现Django Heroku tutorial https://devcenter.heroku.com/articles/getting-started-with-django
python manage.py runserver在虚拟环境外部和内部均工作正常
foreman start在虚拟环境外工作正常
foreman start在virtualenv中该命令要么停顿在第一行,要么以代码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 更新:
Procfile
web: gunicorn cell_modelling_site.wsgi发布于 2014-11-04 15:06:08
我曾面临过更棘手的问题。我通过使用pip安装gunicorn==0.16.1解决了这个问题。希望这也能解决你的问题...
用gunicorn==0.16.1替换现有的gunicorn
https://stackoverflow.com/questions/26607626
复制相似问题