python2.7 升级到 python3.6
2021-03-11 12:33
阅读:365
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-develxz-devel gcc mkdir /usr/download cd /usr/download wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz tar -xvf Python-3.6.4.tgz mkdir /usr/local/python3 cd Python-3.6.4 ./configure --prefix=/usr/local/python3 make make install ln -s /usr/local/python3/bin/python3 /usr/bin/python mv /usr/bin/python /usr/bin/python_bak ln -s /usr/local/python3/bin/python3 /usr/local/bin/python [root@do1cloud03 ~]# python
python2.7 升级到 python3.6
标签:-- load mkdir local config nss curses zlib python2
原文地址:https://www.cnblogs.com/lixiuran/p/14128313.html
上一篇:Java基础5--方法
下一篇:SpringBoot运行原理
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:python2.7 升级到 python3.6
文章链接:http://soscw.com/index.php/essay/63203.html
文章标题:python2.7 升级到 python3.6
文章链接:http://soscw.com/index.php/essay/63203.html
评论
亲,登录后才可以留言!