python 3.5.2安装
-----------------------
apt-get -y install build-essential checkinstall
apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
tar xzf Python-3.5.2.tgz
cd Python-3.5.2
./configure
make altinstall
cd /usr/bin/
mv python python2.7.12
ln -s /usr/local/bin/python3.5 python
python -V

pip3
------------------
默认安装Python3.5.2,就会安装pip3,只是名字,我们需要修改下:ln -s /usr/local/bin/pip3.5 /usr/local/bin/pip3