CentOS7.6安装uwsgi 失败解决方法

文章讲述了作者在使用pipinstalluwsgi时遇到错误,通过将包URL代替官方仓库,解决了依赖问题。同时,文中提到了Setuptools的警告,关于dash-separated选项即将被弃用的提示。

直接说方法:把pip install uwsgi 换成pip install https://projects.unbit.it/downloads/uwsgi-lts.tar.gz

我当时的情况是报了如下错↓: 然后尝试装了各自依赖全都没用,最后竟然换成网址的形式就好了

(venv) [root@VM-16-17-centos ~]# pip install uwsgi
Looking in indexes: http://mirrors.tencentyun.com/pypi/simple
Collecting uwsgi
  Using cached http://mirrors.tencentyun.com/pypi/packages/1b/ed/136698c76722268569eac4e48ab90f3ced8b8035e414a8290cb935c40c16/uwsgi-2.0.24.tar.gz (810 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: uwsgi
  Building wheel for uwsgi (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      /od/venv/lib/python3.9/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!
  &nb

评论 5
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值