SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)'))

Volc·2024년 3월 22일
0

Error

목록 보기
60/62

Error

  • pip install 시 다음과 같은 에러가 발생

Error 해결

  • 회사 프록시/방화벽에서 해당 url을 허용하지 않는 경우 발생한다.(회사 보안 정책)
  • 다음 명렁어를 뒤에 붙여주면 해결된다.

    --trusted-host pypi.org --trusted-host files.pythonhosted.org

  • 필자의 경우 이렇게 입력하니 해결되었다.
pip install cv2 --trusted-host pypi.org --trusted-host files.pythonhosted.org

참고 사이트

https://t-shaped-person.tistory.com/142

profile
미래를 생각하는 개발자

0개의 댓글