Heroku Django Gunicorn“工头启动”错误
我一直在工作,一直到了 当我尝试使用gunicorn时,出现以下错误:Heroku Django Gunicorn“工头启动”错误,django,heroku,gunicorn,Django,Heroku,Gunicorn,我一直在工作,一直到了 当我尝试使用gunicorn时,出现以下错误: requirements.txt Django==1.4.1 distribute==0.6.28 dj-database-url==0.2.1 psycopg2==2.4.5 gunicorn==0.14.6 Procfile web: gunicorn djtut.wsgi -b 0.0.0.0:$PORT (venv) C:\Users\xxxx\Documents\Python\djtut>foreman
requirements.txt
Django==1.4.1
distribute==0.6.28
dj-database-url==0.2.1
psycopg2==2.4.5
gunicorn==0.14.6
Procfile
web: gunicorn djtut.wsgi -b 0.0.0.0:$PORT
(venv) C:\Users\xxxx\Documents\Python\djtut>foreman check
valid procfile detected (web)
(venv) C:\Users\xxxx\Documents\Python\djtut>foreman start
10:53:05 web.1 | started with pid 5652
10:53:06 web.1 | exited with code 1
10:53:06 web.1 | Traceback (most recent call last):
10:53:06 system | sending SIGKILL to all processes
10:53:06 | File "C:\Users\xxxx\Documents\Python\djtut\venv\Scripts\
gunicorn-script.py", line 9, in <module>
(venv) C:\Users\xxxxx\Documents\Python\djtut>
在Heroku上使用dev服务器可以正常工作。我在Windows7上。有什么想法吗?我怀疑这是操作系统的问题
谢谢
AP不幸的是,Gunicorn不能在Windows上工作。不幸的是,Gunicorn不能在Windows上工作。Gunicorn-script.py的第9行在做什么?加载输入点'Gunicorn==0.14.6','console\u scripts','Gunicorn'Hmmm。。。gunicorn的文件夹是否已添加到路径?gunicorn-script.py的第9行在做什么?加载\u条目\u点'gunicorn==0.14.6'、'console\u脚本'、'gunicorn'Hmmm。。。gunicorn的文件夹是否已添加到路径?