1. 安装python3.5 和pip3
见之前的文章:https://www.jianshu.com/p/c3fda568de4d
2. 解决pip3 openssl问题
#yum install openssl
#yum install openssl-devel
#yum install zlib
#yum install zlib-devel
#yum install gcc
编译python3.5
#./configure --with-ssl
#make && make install
pip3 install --upgrade pip(升级pip3)
#安装setuptools, 如果setuptools显示安装成功,下面三步就不需要了
#wget –no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26
#python3 setup.py build
#python3 setup.py install
下载安装pip3
#python3 setup.py build
#python3 setup.py install
#pip3 install numpy
网友评论