문서의 선택한 두 판 사이의 차이를 보여줍니다.
| python:windows:pip_error [2024/02/17 10:28] – 만듦 taekgu | python:windows:pip_error [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| + | ====== 오류수정 ====== | ||
| + | |||
| + | Windows 10에서 | ||
| + | |||
| + | 오류 발생: error: could not install packages due to an oserror: could not find a suitable tls ca certificate bundle, invalid path: c:\program files\postgresql\16\ssl\certs\ca-bundle.crt . pip를 사용하여 새 패키지를 설치하는 동안 발생했습니다. | ||
| + | |||
| + | 이유: postgresql 설치가 어떻게든 시스템 환경 변수를 업데이트했습니다. | ||
| + | |||
| + | 두 단계로 수정하세요(나에게 도움이 됨). | ||
| + | |||
| + | 에 있는 경로 로 시스템 환경 CURL_CA_BUNDLE변수를 업데이트합니다 . 제 경우에는 전체 경로를 추가하세요.cacert.pemPython311\Lib\site-packages\pip\_vendor\certifi\cacert.pemC: | ||
| + | PC를 다시 시작하세요 | ||