centos-redithalt系统下安装: wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar -zxvf Python-3.7.2.tgz ./configure --prefix=/usr/local/python3.7 make && make install ln -s /usr/local/python3/bin/python3.7 /usr/bin/python3.7 vim /etc/profile export PATH=$PATH:/usr/local/python3.7/bin source /etc/profile python3.7 -V 查看是否安装成功 pip 命令就可以使用了