Y
Y
Yele2020-11-30 17:51:32
Python
Yele, 2020-11-30 17:51:32

Error while installing pip library?

When installing absolutely any pip library, an error occurs, I visited many forums but did not find an answer, maybe they will help here. Here is the error itself:

pip install pyAudio
Defaulting to user installation because normal site-packages is not writeable
Collecting PyAudio
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection aborted by other side'))':
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection aborted by other side' ))': /packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection aborted by the other side'))':
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection aborted by other party' ))': /packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection aborted by the other side'))':
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.2.tar .gz (Caused by ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection aborted by the other side')))

5fc5065de0736161309320.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
soremix, 2020-11-30
@SoreMix

Manually download the required file and install via pip
https://pypi.org/project/PyAudio/#files

C
Codebaker, 2020-11-30
@Codebaker

pip install pipwin
pipwin install pyaudio

A
alexbprofit, 2021-03-31
@alexbprofit

install portaudio

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question