C:\Program Files\Python37\Scripts> pip install soundfile
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/soundfile/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/soundfile/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/soundfile/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/soundfile/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/soundfile/
Could not fetch URL https://pypi.org/simple/soundfile/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/soundfile/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement soundfile (from versions: none)
ERROR: No matching distribution found for soundfile
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
위와 같은 에러 발생시 아래 경로의 pip.ini 파일에
C:\Users\[user]\AppData\Roaming\pip\pip.ini
아래의 구문을 추가한다.
[global]
index-url=http://pypi.douban.com/simple/
[install]
trusted-host=pypi.douban.com
'프로그래밍 > 파이썬' 카테고리의 다른 글
pip 오류 Configuration file could not be loaded. (0) | 2024.06.11 |
---|---|
파이썬 함수에서 여개의 값을 리턴(반환)하는 방법 (0) | 2024.05.15 |
pyautogui에서 moveto 등이 안될때 (0) | 2024.03.28 |
pip install pyaudio 설치에러 (0) | 2024.03.05 |
판다스 기본 사용법 (1) | 2023.11.13 |