首页 > 解决方案 > 安装json5库失败

问题描述

我正在使用 Windows 终端中的 azure cloud 来训练深度神经网络。我正在尝试使用 pip3 install json5 安装 json5 库,但出现此错误。

Defaulting to user installation because normal site packages is not writeable
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 0x7fb8addb9470>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/json5/
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 0x7fb8addb9710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/json5/
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 0x7fb8addb9860>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/json5/
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 0x7fb8addb99b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/json5/
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 0x7fb8addb9b00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/json5/
ERROR: Could not find a version that satisfies the requirement json5 (from versions: none)
ERROR: No matching distribution found for json5

任何解决方案将不胜感激

标签: python

解决方案


推荐阅读