python3中的ssl模块不可用问题

 python中的ssl模块不可用问题
 
 [root@centos6 ~]# pip3 install  --upgrade pip
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
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.")': /pypi/simple/pip/

 yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel
 
 ./configure --prefix=/usr/local/python38 
   
 make
   
 make install
 

你可能感兴趣的:(python,开发语言)