๋ฐ์ํ
pip install ์ SSLError ๋ฐ์
D:\>pip install pillow
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pillow/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pillow/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pillow/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pillow/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pillow/
Could not fetch URL https://pypi.org/simple/pillow/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pillow/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))) - skipping
ERROR: Could not find a version that satisfies the requirement pillow (from versions: none)
ERROR: No matching distribution found for pillow
1. --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org ๋ฅผ ๋ถ์ฌ์ install
pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org numpy
2. pip.ini ํ์ผ ์์ฑ
- pip.ini
[global]
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org
- ์๋์์ ํด๋น๋๋ ๊ฒฝ๋ก์ pip.ini ํ์ผ ์์ฑ
D:\anaconda3\Lib\site-packages\pippython ๊ฒฝ๋ก (D:\Programs\Python\Python310)- or C:\Users\{๊ณ์ ๋ช }\AppData\Roaming\pip ํด๋์ pip.ini ์์ฑ
pipenv ์ฌ์ฉ์ ๊ฐ์ํ๊ฒฝ ํด๋ ์์ ์์ฑ C:\Users\{๊ณ์ ๋ช }\.virtualenvs\cxvsdfa- Locking Failed! ๋ ์ค๋ฅ๊ฐ........
https://curryyou.tistory.com/179
https://pip.pypa.io/en/stable/topics/configuration/#config-file
https://better-than-alone.tistory.com/42
https://melonicedlatte.com/2020/08/12/082300.html
๋ฐ์ํ
'Python > pip' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Python] pip ์ค์น, ์ ๊ทธ๋ ์ด๋ (Windows) (0) | 2022.08.18 |
---|---|
[Python] pip ์ ๊ทธ๋ ์ด๋ ๋ช ๋ น์ด (Windows) (0) | 2019.07.16 |