1.下载python3.7.6
网上给出的以下两种下载方式都已失效
apt-get install python3.7
# 或者
wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1rc2.tgz
手动下载
python官方ubuntu python3.7.6
2.安装python3.7.6
tar -zxvf Python-3.7.6.tgz
3. 配置安装位置
./configure
# 或者
./configure --prefix=/usr/local/python3.7.1
4.编译、测试
cd Python-3.7.6
make
make test
5.测试结束,报告有错
== Tests result: FAILURE then FAILURE ==
386 tests OK.
2 tests failed:
test_normalization test_zipfile