[python] Django 설치 에러

1 minute read

Django 설치 중에 아래와 같은 에러가 발생했다.

pip에서 특정 기능을 지원 중단하고 업그레이드를했는데, 컴퓨터에서 그 pip업그레이드를 못따라가서 발생한 문제라고 한다.

error

Collecting django
  Could not fetch URL https://pypi.python.org/simple/django/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) - skipping
  Could not find a version that satisfies the requirement django (from versions: )
No matching distribution found for django

아래 명령어로 해결 가능하다.

$ curl https://bootstrap.pypa.io/get-pip.py | python