【问题标题】:Unable to install Python library in Kaggle notebook无法在 Kaggle 笔记本中安装 Python 库
【发布时间】:2020-12-27 20:55:39
【问题描述】:

当我在 kaggle 控制台中运行 !pip install 'library_name' 时,它会抛出以下警告:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) 
after connection broken by 'NewConnectionError('
<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc7bd22aed0>:
Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
')': /simple/pip/

最终不安装库。

这个警告的原因是什么以及如何解决这个问题?

【问题讨论】:

    标签: python kaggle


    【解决方案1】:

    打开右侧的标签栏 -> 在“设置”下拉菜单中,启用“Internet”。现在你可以安装任何 python 库了。

    【讨论】:

      猜你喜欢
      • 2023-03-31
      • 2021-04-15
      • 2021-10-12
      • 2018-07-28
      • 2022-10-08
      • 2021-02-19
      • 1970-01-01
      • 2020-11-28
      相关资源
      最近更新 更多