若本机已安装python2,尽量不要动现有的python2,额外安装python3即可. 1.安装python3.6(centos下安装python3自带pip和setuptools) python3]# cd /usr/local/python3 # 我的python3.6安装路径,如果没有python3目录应事先创建# 依次执行如下命令[root@ipha-dev71-1 python3]# wget https://www.python.org/ftp/python/3.6.1/Pytho…