centos7构建python2.7常用开发环境
把下面的代码保存到一个sh文件中执行即可
1 yum -y install epel-release 2 yum -y install python-pip 3 yum -y install mysql-devel 4 yum -y install python-devel 5 yum -y install gcc 6 yum -y install wget 7 yum -y install zip 8 yum -y install unzip 9 10 pip install --upgrade pip 11 pip install enum 12 pip install cryptography 13 pip install paramiko 14 pip install xlrd 15 pip install xlwt 16 17 wget https://pypi.python.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip#md5=654f75b302db6ed8dc5a898c625e030c 18 unzip MySQL-python-1.2.5.zip 19 cd MySQL-python-1.2.5 20 python setup.py install
作者 :秋时
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。