pip로 패키지를 설치할 수 없습니다.
환경
문제
파이썬 초보자이면서 보는 모습으로 AWS를 조작하고 싶어 boto3을 떨어뜨리려고 하면
pip install boto3 할 수 없다.
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting boto3
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Could not fetch URL https://pypi.org/simple/boto3/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/boto3/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement boto3 (from versions: )
No matching distribution found for boto3
솔루션 후보
Typo?
그것은 아니, 왜냐하면 Pypi 명령을 복사했기 때문에.
인증서 오류?
에러를 구그하면 아무래도 증명서의 관계에 의해 신용하고 있지 않기 때문에와 같은 기사가 나왔기 때문에 실행했다.
htps : // 이 m/아가죠/있어 ms/73d6f14855다 703972에0
하지만 작동하지 않습니다.
해결책
공식 사이트 의 pip의 페이지를 보면
複数のバージョンの Python がインストールされている環境では、どの Python の実行環境にパッケージをインストールするか、指定する必要があります。
그리고 있다. 그러고 보면 다른 시스템의 관계로 2.x를 넣고 있었던 것을 기억해 버전 지정을 해 실행
py -3 -m pip install boto3
무사한 해결
Reference
이 문제에 관하여(pip로 패키지를 설치할 수 없습니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/Naoki08/items/f18d1afba7e12f452a98
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting boto3
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/boto3/
Could not fetch URL https://pypi.org/simple/boto3/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/boto3/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement boto3 (from versions: )
No matching distribution found for boto3
Typo?
그것은 아니, 왜냐하면 Pypi 명령을 복사했기 때문에.
인증서 오류?
에러를 구그하면 아무래도 증명서의 관계에 의해 신용하고 있지 않기 때문에와 같은 기사가 나왔기 때문에 실행했다.
htps : // 이 m/아가죠/있어 ms/73d6f14855다 703972에0
하지만 작동하지 않습니다.
해결책
공식 사이트 의 pip의 페이지를 보면
複数のバージョンの Python がインストールされている環境では、どの Python の実行環境にパッケージをインストールするか、指定する必要があります。
그리고 있다. 그러고 보면 다른 시스템의 관계로 2.x를 넣고 있었던 것을 기억해 버전 지정을 해 실행
py -3 -m pip install boto3
무사한 해결
Reference
이 문제에 관하여(pip로 패키지를 설치할 수 없습니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/Naoki08/items/f18d1afba7e12f452a98
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
py -3 -m pip install boto3
Reference
이 문제에 관하여(pip로 패키지를 설치할 수 없습니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/Naoki08/items/f18d1afba7e12f452a98텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)