解决pip3 install下载很慢

参考文献:https://blog.csdn.net/cfan927/article/details/103332109

国外的源访问很慢,可以用国内的源进行下载,这里以清华的源为例,命令如下:

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple 要安装的库的名称

例如我要安装PyQt5,那么命令就是:

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple PyQt5

猜你喜欢

转载自www.cnblogs.com/linux-37ge/p/12891827.html