티스토리 뷰


google or tool 파이썬 라이브러리 설치하려고 pip install ortools 했더니 에러 발생 .


에러메세지 :

~~SSLError: HTTPSConnectionPool(host='files.pythonhosted.org',port=443): Max retries exceed with url: /packages .........




해결방법 :

pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org ortools

임시방편인듯함.





참고한 부분 :

https://code.i-harness.com/ko-kr/q/18c7307

pip install \

  --trusted-host pypi.python.org \

  --trusted-host pypi.org \

  --trusted-host files.pythonhosted.org \

  <package>





pytorch

pip install torch===1.2.0 torchvision===0.4.0 -f https://download.pytorch.org/whl/torch_stable.html --trusted-host download.pytorch.org


반응형
댓글