sudo apt update
sudo apt install python3
sudo apt install python3-pip
sudo mkdir ~/.pip
sudo vim ~/.pip/pip.conf
添加如下内容
[global] index-url=https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host=mirrors.aliyun.com