인프런 커뮤니티 질문&답변

최유선님의 프로필 이미지
최유선

작성한 질문수

파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap

Cmder에서 django 설치 오류

작성

·

1K

0

django를 설치하는 과정에서 pip install django를 입력하면 아래와 같은 오류가 발생합니다.

C:\github\django_my_website (master -> origin)

(venv) λ pip install django

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

WARNING: 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/django/

WARNING: 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/django/

WARNING: 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/django/

WARNING: 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/django/

WARNING: 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/django/

Could not fetch URL https://pypi.org/simple/django/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/django/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

ERROR: Could not find a version that satisfies the requirement django (from versions: none)

ERROR: No matching distribution found for django

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

아나콘다 설치 과정에서 Add Anaconda3 to my PATH environment variable 체크도 했습니다.

Python 3.8.2가 이미 깔려있었던 상태였는데 문제가 될까봐 삭제 후, 아나콘다와 파이참 또한 삭제 후 재설치하여 다시 해봤는데도 위와 같은 결과가 나옵니다.

답변 4

0

최유선님의 프로필 이미지
최유선
질문자

위 댓글에 첨부한 링크 글에서 2. TSSL오류에서 4번째 방법으로 해결했습니다.

0

혹시 어떤 방법으로 해결하셨는지 여쭤도 될까요?

0

최유선님의 프로필 이미지
최유선
질문자

네. https://lightot.tistory.com/71 링크의 글 참고하여 장고 설치까지는 해결했습니다.

0

같은 상황인데 혹시 해결하셨나요??

최유선님의 프로필 이미지
최유선

작성한 질문수

질문하기