删除centos7中自带有python2.7
(1)强制删除已安装python及其关联
rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps
(2)删除残余文件
whereis python|xargs rm -frv
Linux系统上安装Python3.7
https://www.cnblogs.com/qingyuanyuanxi/p/7985626.html
下载源码包 进入官网https://www.python.org/ 找到第一个Downloads下载 Source code是源码
python3:
/usr/local/bin/python3.7m
/usr/local/bin/python3.7
/usr/local/bin/python3.7m-config
/usr/local/bin/python3
/usr/local/bin/python3.7-config
/usr/local/lib/python3.7
/usr/local/python3.7