Phenomenon:
Solution:
1. Install dependent packages
yum -y install zlib*
2. Recompile Python
#The catalog is based on the production environment itself [root@wangzy software]# cd Python/ [root@wangzy Python]# ./configure --prefix=/usr/local/python3 #Compile and install [root@wangzy Python]# make && make install # re-install curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py