############python3.5替换python3.7#########
sudo apt-get install python3.5 #默认安装的是python3.5.4
sudo apt-get autoremove python2.7
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python3.5 /usr/bin/python #python3.5
########.为python3.5安装pip。
使用:
cd /tmp
wget https://bootstrap.pypa.io/pip/3.5/get-pip.py #这里可能需要FQ才能正常访问
sudo python3.5 ./get-pip.py
######这样会卸载原来的pip,为python3.5安装好pip。
使用:
pip3.5