[ 작업환경 ]

Centos 7.3

Python 3.7.6

 

 

 

 [ 장애 문구 ]

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

 

 

 

$ python3 -m pip install flask

필자는 위 명령어 입력시 발생하였습니다.

 

 

 

 

 [ 해결방법 ]

 

$ yum -y install openssl openssl-devel

 

 

pip 명령어가 ssl을 사용하는데, 설치되어있지 않기 때문에 발생하는 오류이므로 설치해주면 됩니다.

 

 

 

 

+ Recent posts