我尝试以管理员身份在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和Windows10。如果要紧的话,我还拥有截至06 / 14-19的最新版本的pip和anaconda。
答案 0 :(得分:0)
请提供一些更具体的信息。系统,python版本等。仅在conda上尝试过? 尝试mb:
sudo pip install plotly
或
sudo pip3 install plotly
在conda上,这有可能起作用:
conda install -c plotly plotly