python开发用到python模块用pip来安装非常方便。以下为centos7下安装命令。1 先安装源 yum -y install epel-release
2 安装python-pipyum -y install python-pip
3 安装python-devel,pip安装模块时下载模块源码然后编译,大部分模块都需要python-devel包着支持。yum -y install python-devel
4 安装python模块pip install xxx