我无法让工头上班。
当我运行foreman start
时,我得到以下输出:
13:48:12 web.1 | started with pid 14896
13:48:12 web.1 | Traceback (most recent call last):
13:48:12 web.1 | File "C:\Python33\Scripts\gunicorn-script.py", line 9, in <module>
13:48:12 web.1 | load_entry_point('gunicorn==18.0', 'console_scripts', 'gunicorn')()
13:48:12 web.1 | File "C:\Python33\lib\site-packages\pkg_resources.py", line 357, in load_entry_point
13:48:12 web.1 | return get_distribution(dist).load_entry_point(group, name)
13:48:12 web.1 | File "C:\Python33\lib\site-packages\pkg_resources.py", line 2394, in load_entry_point
13:48:12 web.1 | return ep.load()
13:48:12 web.1 | File "C:\Python33\lib\site-packages\pkg_resources.py", line 2108, in load
13:48:12 web.1 | exited with code 1
13:48:12 web.1 | entry = __import__(self.module_name, globals(),globals(), ['__name__'])
13:48:12 system | sending SIGKILL to all processes
13:48:12 | File "C:\Python33\lib\site-packages\gunicorn\app\wsgiapp.py", line 10, in <module>
坦率地说,我不知道造成这种情况的原因。非常感谢帮助。
我的Procfile如下:
web: gunicorn caraton.wsgi