发布时间:2019-09-10 09:14:46编辑:auto阅读(1842)
1.获取编译包:
wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz wget http://mirrors.sohu.com/python/3.6.4/Python-3.6.4.tgz
2.解压:
tar -zxvf Python-3.6.4.tgz
3.移动到安装目录
mv Python-3.6.4 /usr/local
4.进入目录:
cd /usr/local/Python-3.6.4
5.编译安装:
./configure make make install
6.软链接:
ln -s /usr/local/bin/python3.6 /usr/bin/python3
大功告成:
python3 -V
上一篇: python爬取百度图片代码
下一篇: H3C防火墙配置
47850
46410
37292
34741
29322
25979
24924
19959
19550
18037
5800°
6422°
5937°
5966°
7074°
5921°
5952°
6447°
6409°
7788°