uwsgi安装出错

Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting uwsgi
  Downloading http://mirrors.aliyun.com/pypi/packages/e7/1e/3dcca007f974fe4eb369bf1b8629d5e342bb3055e2001b2e5340aaefae7a/uwsgi-2.0.18.tar.gz (801kB)
     |████████████████████████████████| 808kB 6.4MB/s 
Building wheels for collected packages: uwsgi
  Building wheel for uwsgi (setup.py) ... error
  ERROR: Complete output from command /root/.virtualenvs/py_web/bin/python3 -u -c 'import setuptools, ten)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__
  ERROR: /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'descripti
    warnings.warn(msg)
  running bdist_wheel

......

Running setup.py clean for uwsgi
Failed to build uwsgi
Installing collected packages: uwsgi
  Running setup.py install for uwsgi ... error
......

ERROR: Command "/root/.virtualenvs/py_web/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' in-install-headers /root/.virtualenvs/py_web/include/site/python3.5/uwsgi" failed with error code 1 in /

解决方法安装 python3-dev

apt-get install python3-dev

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值