2012-09-27 4 views
2

저는 Heroku's Django tutorial을 통해 작업 중이며 'Using a different WSIG server'까지 줄곧 있습니다. Heroku가에 dev에 서버를 사용Heroku Django Gunicorn 'Foreman Start'오류

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>  

작품 미세 :

나는 다음과 같은 오류가 gunicorn 사용하려고

. Windows 7입니다. 어떤 아이디어가 있습니까? OS 문제일까요?

덕분에,

AP

+2

gunicorn-script.py의 9 행은 무엇입니까? – Gady

+1

load_entry_point ('gunicorn == 0.14.6', 'console_scripts', 'gunicorn') – user1704258

+1

음 ... gunicorn의 폴더가 PATH에 추가 되었습니까? – Gady

답변

4

불행하게도, Gunicorn Windows에서 작동하지 않습니다.

관련 문제