##方法一:设置pip的超时限制
输入pip --default-timeout=100 install -U 【下载的包名】
##方法二:换源下载
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -U 【下载的包名】

解释一下上面的-U 和-i
-U:安装升级
-i:指定源

##方法三:使用码云来下载github文件
在这里插入图片描述##方法四:在github.com后面添加cnpmjs.org
git clone https://github.com.cnpmjs.org/…

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐