参考文献: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

 

相关文章:

  • 2021-08-06
  • 2021-10-20
  • 2021-09-01
  • 2021-07-06
  • 2021-07-09
  • 2021-12-22
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2022-01-10
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案