• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

Cmder에서 django 설치 오류

20.07.14 00:19 작성 조회수 856

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

최유선님의 프로필

최유선

질문자

2020.07.16

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

0

이수현님의 프로필

이수현

2020.07.16

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

0

최유선님의 프로필

최유선

질문자

2020.07.15

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

0

이수현님의 프로필

이수현

2020.07.15

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