Gunicorn无法在virtualenv或其他方面正确安装

时间:2015-12-14 23:04:24

标签: nginx amazon-ec2 gunicorn

我目前正在尝试使用Amazon EC2部署我的应用。我正在使用gunicorn和Nginx。当我在gunicorn中安装virtualenv时,我收到以下错误...

Downloading/unpacking gunicorn
  Downloading gunicorn-19.4.1-py2.py3-none-any.whl (112kB): 112kB downloaded
Installing collected packages: gunicorn
Compiling /home/ubuntu/env/build/gunicorn/gunicorn/workers/_gaiohttp.py ...
  File "/home/ubuntu/env/build/gunicorn/gunicorn/workers/_gaiohttp.py", line 78
    yield from self.wsgi.close()
             ^
SyntaxError: invalid syntax

Successfully installed gunicorn
Cleaning up...

我怀疑这是我无法让gunicorn与我的应用正常工作的原因。我怎样才能正确安装gunicorn?

0 个答案:

没有答案