【发布时间】:2019-06-14 13:13:33
【问题描述】:
我尝试以管理员身份在 windows CMD 中使用 pip 进行安装,但我不断收到以下错误:
$pip install plotly
Collecting plotly
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x05EA24F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/plotly/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x05E663F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/plotly/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x05E79450>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/plotly/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x05E79870>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/plotly/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x05E79BD0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/plotly/
Could not find a version that satisfies the requirement plotly (from versions: )
No matching distribution found for plotly
我有 python 3.7 和 windows 10。如果重要的话,我还有 06/14-19 的最新版本的 pip 和 anaconda。
【问题讨论】:
-
我在新的虚拟环境中尝试了同样的命令
pip install plotly,没有问题。 (Windows 10、Python 3.7 Anaconda)
标签: python cmd pip installation plotly