У установки Python pip, похоже, проблема с доступом к Интернету - PullRequest
0 голосов
/ 27 февраля 2019

Я использую Python 3.7.2 на моей машине с доступом в Интернет.При установке любого пакета возникает следующая проблема:

M:>\pip install matplotlib 

Collecting matplotlib   Retrying
 (Retry(total=4, connect=None, read=None, redirect=None, status=None))
 after connection broken by
 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
 object at 0x04127270>: Failed to establish a new connection: [Errno
 11001] getaddrinfo failed')': /simple/matplotlib/   Retrying
 (Retry(total=3, connect=None, read=None, redirect=None, status=None))
 after connection broken by
 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
 object at 0x04127AD0>: Failed to establish a new connection: [Errno
 11001] getaddrinfo failed')': /simple/matplotlib/   Retrying
 (Retry(total=2, connect=None, read=None, redirect=None, status=None))
 after connection broken by
 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
 object at 0x04127AB0>: Failed to establish a new connection: [Errno
 11001] getaddrinfo failed')': /simple/matplotlib/   Retrying
 (Retry(total=1, connect=None, read=None, redirect=None, status=None))
 after connection broken by
 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
 object at 0x0414B390>: Failed to establish a new connection: [Errno
 11001] getaddrinfo failed')': /simple/matplotlib/   Retrying
 (Retry(total=0, connect=None, read=None, redirect=None, status=None))
 after connection broken by
 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
 object at 0x0414B210>: Failed to establish a new connection: [Errno
 11001] getaddrinfo failed')': /simple/matplotlib/   Could not find a
 version that satisfies the requirement matplotlib (from versions: ) No
 matching distribution found for matplotlib

A.) Как это можно исправить?

A.1) Кажется, что некоторые учреждения блокируют определенный доступ.Как я могу переключить URL загрузки?

A.2) Существуют ли альтернативные зеркала и как я могу получить к ним доступ?

Заранее спасибо!

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...