Я не могу установить пакет plotly и геопанду с pip, что мне делать? - PullRequest
0 голосов
/ 14 июня 2019

Я попытался установить плотно, используя pip в Windows CMD от имени администратора, но продолжаю получать следующую ошибку:

$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. У меня также есть последняя версия pip и anaconda от 06/14-19, если это имеет значение.

1 Ответ

0 голосов
/ 14 июня 2019

Пожалуйста, дайте более конкретную информацию. Система, версия Python и т. Д. Только пробовал на Конде? попробуй мб:

sudo pip install plotly 

или

sudo pip3 install plotly

На Конде есть шанс, что это работает:

conda install -c plotly plotly
...