소개

macOS python 3.12에서 requests로 요청 도중 다음과 같은 문제가 발생한다.

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>

해결 방법

다음 경로에 있는 커맨드 파일을 실행시켜주면 된다.

/Applications/Python 3.12(버전마다 다름)/Install Certificates.command

태그
python
macos
반응과 댓글 시스템은 Giscus에 의해 호스팅되며, 모든 대화는 GitHub에 저장됩니다.

출처가 명확하지 않은 내용을 신뢰하지 마세요. 글 작성자는 이로 인해 발생하는 책임을 지지 않습니다.

피드백 무엇이든 환영합니다 🤗

doda.devlicensegithubmade with ☕️

Python certificate verify failed: unable to get local issuer certificate 문제 해결 – 도다위키