下载地址https://www.python.org/downloads/source
tar -xvf Python-3.6.1.tgz
./configure --prefix=/usr/local/python/python3 --with-ssl make && make install
将ssl加载进去,同时将python安装到 /usr/local/python/python3 下面,所有命令可以在 bin 目录下查找
ln -s /usr/local/python/python3/bin/python3.6 /usr/bin/python3 ln -s /usr/local/python/python3/bin/pip3.6 /usr/bin/pip3
创建命令快捷方式
python3 -V pip -V