centos7下安装yum -y groupinstall "Development tools"

yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel

yum -y install db4-devel libpcap-devel xz-devel

yum install libffi-devel -y

yum install epel-release -y

yum install gcc -y





wget https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tar.xz



tar -xvJf Python-3.7.5.tar.xz



cd Python-3.7.5

./configure --prefix=/usr/local/pthon3



make && make install > install.log (安装日志看个人需求)





ln -s /usr/local/python3/bin/python3 /usr/bin/python3

ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3





python3升级

python3 -m pip install --upgrade pip





pip3国内镜像

pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple





pip3 install pdfplumber==0.9.0

正在努力加载中