更换为清华源 mkdir -p ~/.pip echo "[global]" > ~/.pip/pip.conf echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf