Пип не устанавливает модули и не обновляет - PullRequest
0 голосов
/ 19 июня 2019

Я не могу ни устанавливать модули с Pip, ни обновлять его.

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

Когда я запускаю команду обновления, я просто получаю больше ошибок.

Я запускаю код в Windows 10 powershell с admin опциями:

pip install tesseract (it actually happens with other modules too)

Неудачно, я запускаю строку обновления:

python -m pip install --upgrade pip

После выполнения первой строки появились следующие ошибки:

  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forced to close by the remote host', None, 10054, None))': /simple/tesseract/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'UAn existing connection was forced to close by the remote host', None, 10054, None))': /simple/tesseract/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forced to close by the remote host', None, 10054, None))': /simple/tesseract/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forced to close by the remote host', None, 10054, None))': /simple/tesseract/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forced to close by the remote host', None, 10054, None))': /simple/tesseract/
  Could not find a version that satisfies the requirement tesseract (from versions: )
No matching distribution found for tesseract
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

после второй команды появилось:

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'n existing connection was forced to close by the remote host', None, 10054, None))': /simple/pip/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'n existing connection was forced to close by the remote host', None, 10054, None))': /simple/pip/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'n existing connection was forced to close by the remote host', None, 10054, None))': /simple/pip/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'n existing connection was forced to close by the remote host', None, 10054, None))': /simple/pip/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'n existing connection was forced to close by the remote host', None, 10054, None))': /simple/pip/
Requirement already up-to-date: pip in c:\users\user\appdata\local\programs\python\python37\lib\site-packages (19.0.3)
...