加源
vim /etc/apt/sources.list
deb http://mirrors.163.com/debian/ testing main
安装
apt-get update
apt-get install python3.7 python3.7-dev python3.7-distutils
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
python3.7 get-pip.py
pip3 install --upgrade --force-reinstall setuptools
pip aliyun镜像
vim ~/.pip/pip.conf
[global]
trusted-host = mirrors.aliyun.com
index-url = http://mirrors.aliyun.com/pypi/simple/