今天用pip安装第三方库时总报超时,可能是网络不稳定地原因。    HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.  HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

 

 

   解决方法:将超时时间延长,重新下载。

  命令:1.pip --default-timeout=100 install -U pip

     2.pip --default-timeout=100 install -U +第三方库名

      如:pip --default-timeout=100 install -U echarts-china-cities-pypkg

 

 

 

 

   

相关文章:

  • 2021-09-07
  • 2021-04-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-05
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
相关资源
相似解决方案