可以换个好的网络,并选择国内的下载站,设置超时时间都行.
eg.
pip3 --default-timeout=100 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ matplotlib
可以换个好的网络,并选择国内的下载站,设置超时时间都行.
eg.
pip3 --default-timeout=100 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ matplotlib
本文标题:在使用pip下载时超时
本文链接:https://www.haomeiwen.com/subject/tzxnshtx.html
网友评论