(源码安装)
1,从官方网站下载:
sudo wget --no-check-certificate https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz
2,config,
sudo ./configure --prefix=/usr/bin/python-3.7.0
(如果拷贝prefix出问题,使用./configure --help 复制--prefix)
3,sudo make && sudo make install