在kaggle中安装包

问题描述 投票:0回答:1

我尝试在kaggle中安装pyrdf2vec:

!pip insatll pyrdf2vec 

出现此错误:

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 0x7cfc7bf64220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pyrdf2vec/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7cfc7bf64550>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pyrdf2vec/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7cfc7bf647f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pyrdf2vec/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7cfc7bf649a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pyrdf2vec/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7cfc7bf64b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pyrdf2vec/
ERROR: Could not find a version that satisfies the requirement pyrdf2vec (from versions: none)
ERROR: No matching distribution found for pyrdf2vec
add Codeadd Markdown

!pip 安装pyrdf2vec

and this error appears:

警告:连接因“NewConnectionError(': 无法建立新连接:[Errno -3]”而中断后重试(重试(total=4,connect=None,read=None,redirect=None,status=None))名称解析暂时失败')':/simple/pyrdf2vec/ 警告:在连接因 'NewConnectionError(': 无法建立新连接:[Errno -3] 临时名称解析失败')': /simple/pyrdf2vec/ 警告:在连接因“NewConnectionError(”: 无法建立新连接:[Errno -3] 临时) 中断后重试(重试(total=2,connect=None,read=None,redirect=None,status=None))名称解析失败')': /simple/pyrdf2vec/ 警告:在连接因“NewConnectionError(”: 无法建立新连接:[Errno -3] 临时) 中断后重试(重试(total=1,connect=None,read=None,redirect=None,status=None))名称解析失败')': /simple/pyrdf2vec/ 警告:在连接因 'NewConnectionError(': 无法建立新连接:[Errno -3] 临时名称解析失败')': /simple/pyrdf2vec/ 错误:找不到满足pyrdf2vec要求的版本(来自版本:无) 错误:找不到 Pyrdf2vec 的匹配分布 添加代码添加Markdown

python kaggle
1个回答
0
投票

检查连接性,

重试安装

包名称:验证包名称是否正确并且在 PyPI 上可用。

Kaggle 环境:检查 Kaggle 特定的网络限制或配置。

离线安装:下载软件包并使用pip从本地文件安装。

© www.soinside.com 2019 - 2024. All rights reserved.