pip을 쓸 때, 프록시 때문에 아래와 같은 에러가 날 때가 있다.
WARNING: Retrying (Retry( ....
Could not fetch UR: https://pypi~~~ :There was a problem confirming the ssl certificate: HTTPSConnectionPool(host="pypi.org", port=443 ....
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
이럴땐 아래와 같이 명령어에 옵션을 붙인다.
pip --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org
난 저것을 일일이 복사하기 귀찮아서, 그냥 pipt
라는 명칭으로 alias를 건다
alias pipt="pip --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"