wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
tar -xvf Python-3.6.5.tar.xz
cd Python-3.6.5
#指定安装目录
./configure --prefix=/opt/python3.6
sudo make
sudo make install
export PATH=/opt/python3.6/bin:$PATH
ubuntu16.04安装python3.6
最新推荐文章于 2022-04-15 14:45:41 发布