[root@localhost base]# wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0a1.tar.xz
--2023-04-23 19:06:58-- https://www.python.org/ftp/python/3.7.0/Python-3.7.0a1.tar.xz
Resolving www.python.org (www.python.org)... 151.101.108.223, 2a04:4e42:1a::223
Connecting to www.python.org (www.python.org)|151.101.108.223|:443... connected.
ERROR: The certificate of ‘www.python.org’ is not trusted.
修改下载 --no-check-certificate
wget --no-check-certificate https://www.python.org/ftp/python/3.7.0/Python-3.7.0a1.tar.xz
[root@localhost Python-3.7.0a1]# ./configure --prefix=/usr/local/bin/python3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for python3.7... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checki