본문 바로가기

옥탑방주인/Tensorflow

[MAC]Tensorflow Certification Error 해결

MAC에서 tensorflow mnist 튜토리얼 하던 도중 


urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>


이런 에러가 발생하였다.


뭐.. 누군가가 올려놓은 해결법 덕분에 간단하게 해결하였다.


python을 설치할 때 certificate을 안해줘서 발생한 에러인 것 같다.


필자는 Python 3.6.0버전을 사용하고 있다.


 /Applications/Python\ 3.6/Install\ Certificates.command

터미널에 간단하게 이 명령어만 붙여주면 간단하게 해결이 된다.