解决uWsgi 安装失败问题
2020-03-09 本文已影响0人
36172bc7098f
(1)首次尝试 pip install uwsgi,失败1次
![](https://img.haomeiwen.com/i13876091/4f1967cd43d2ebba.png)
(2)尝试安装python-devel,失败2次
![](https://img.haomeiwen.com/i13876091/84af1414552c0858.png)
(3)尝试更新yum,重复安装python-devel,失败3次
![](https://img.haomeiwen.com/i13876091/4a6c898972e61167.png)
![](https://img.haomeiwen.com/i13876091/df9c7baf3e01f8ae.png)
(4)尝试searce python-devel,查找到需要的版本,安装,重复pip install uwsgi,安装成功
![](https://img.haomeiwen.com/i13876091/095df909017f3f03.png)
![](https://img.haomeiwen.com/i13876091/67561894dc44532f.png)
![](https://img.haomeiwen.com/i13876091/9137f9c21a832768.png)
总结:
<1> yum search python-devel ,如果是ubantu 使用apt 进行相应操作
<2>yum install python-devel(对应版本)
<3>pip install uwsgi
只要思想不滑坡,办法总是有的!!