python2.7升级3.5教程 可用

1.查看Python版本: python -Vpython

 

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

 

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

 

4.配置:./configureget

 

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

 

6.安装:make installftp

 

7.关联:配置

先备份原来Python 2.7下载

 

再关联新Python 3.5时间

 

8.查看版本:python -Vmake

相关文章
相关标签/搜索