python2.7升级3.5教程 可用

1.查看Python版本: python -V

 

2.下载Python 3.5版本:wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz

 

3.解压:tar -zxvf Python-3.5.2.tgz

 

4.配置:./configure

 

5.编译(编译时间较长):make

 

6.安装:make install

 

7.关联:

先备份原来Python 2.7

 

再关联新Python 3.5

 

8.查看版本:python -V

 

 

 

 

 


---------------------
作者:x-2013
来源:CSDN
原文:https://blog.csdn.net/huhaoxuan2010/article/details/80507688
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(python2.7升级3.5教程 可用)