MacOS에서 Python 사용시 Certificate Error 날때 해결법

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

MacOS에서 Python을 사용하다가 Certificate Error가 날때는 다음을 실행하여, Local Certificate 를 업데이트 시켜준다.

/Applications/Python3.x/Install Certificate.command

를 찾아서 실행 시켜주면 해당 문제를 해결 할 수 있다.

Show Comments