[ 작업환경 ]
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을 사용하는데, 설치되어있지 않기 때문에 발생하는 오류이므로 설치해주면 됩니다.
'Infra > Linux' 카테고리의 다른 글
[Linux] zip, unzip 커맨드에 대하여 (0) | 2020.01.18 |
---|---|
[Centos] Timezone KST (Korea Seoul)로 변경하기 & soft/hardware적 time 동기화 (0) | 2020.01.17 |
[Solved][Linux] smartd[18810]: Device: /dev/sdab [SAT], 8 Currently unreadable (pending) sectors (0) | 2020.01.03 |
[Linux][httpd] How to install and basic set about httpd (0) | 2019.12.26 |
[Solved][Centos7.3] Connection Session TimeOut 조정 (0) | 2019.11.27 |