0
点赞
收藏
分享

微信扫一扫

【Linux】centos安装uwsgi

先安装python-devel,再用PIP安装uwsgi

从yum源上下载安装对应python版本的python-devel,如果不清楚的话先用 python --version 命令查看python版本,然后yum search python3,Tab键搜索出来下载

[root@VM_0_13_centos ~]# yum install python36u-devel
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration*
************
Installed:
python36u-devel.x86_64 0:3.6.5-1.ius.centos7
Complete!

如果是系统自带python 2.7环境,可以直接用下面命令安装python-devel,再安装uwsgi

yum install python-devel -y
pip install uwsgi


举报

相关推荐

0 条评论