在进行这个链接之前,先安装下面的包
链接: 亲测有效链接.
2、下载python3的包之前,要先安装相关的依赖包,用于下载编译python3:
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
运行了以上命令以后,就安装了编译python3所用到的相关依赖
3、默认的centos7是没有安装pip,先添加epel扩展源
yum -y install epel-release
4、安装pip
yum install python-pip
5、用pip装wget
pip install wget
链接:[https://blog.csdn.net/longzhoufeng/article/details/109879818]
链接: 亲测有效链接.



