centos下安装python3

按照一下文章安装

https://blog.csdn.net/t8116189520/article/details/81976755

首页运行

yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make 

 遇到could not retrieve mirrorlist

Centos7 yum 出现could not retrieve mirrorlist 最终解决方案

        在尝试过很多方法不管用之后,下面是终极解决方案,需要root用户或者sudo执行

      1.   $ sudo vim /etc/sysconfig/network-scripts/ifcfg-ens33

  2.   将ONBOOT改为yes,wq!保存退出

       3.    重新启动网络

             $ service network restart

原文链接:https://blog.csdn.net/jackiesimpson/article/details/80200578

其他都是正确的

原文地址:https://www.cnblogs.com/yanghao2008/p/13042442.html