출처: https://harryp.tistory.com/831 [Park's Life]
작업환경
- 파이썬 3.7
- 아나콘다3 프롬프트
- 가상환경 activate ( conda create -n tutorial python = 3.5 numpy scipy matplotlib spyder pandas seaborn scikit-learn h5py)
- pip install tensorflow를 했더니 ssl에러가 난다.
해결
- pip옵션에서 --trusted-host옵션 사용
- pip에서 라이브럴를 다운받는 서버인 pypi.org 그리고 files.pythonhosted.org 를 옵션으로 지정뒤 install
- pip --trusted-host pypi.org --trusted-host files.pythonhosted.org install 라이브러리명(원하는 가상환경에서 해야한다)