Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I am using Python 3.6. When I try to install "modules" using pip3, I face this issue:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available 
like image 713
Santosh Kumar G Avatar asked Aug 30 '17 07:08

Santosh Kumar G


People also ask

How do you fix pip is configured with locations that require TLS SSL?

To Solve pip is configured with locations that require TLS/SSL however the ssl module in Python is not available Error Just Open Anaconda Prompt and type this command: where conda Then Press windows key and type Open Advanced System Settings. Now, Click on Environment Variables. Edit Path variable.

What is SSL module in Python?

This module provides access to Transport Layer Security (often known as “Secure Sockets Layer”) encryption and peer authentication facilities for network sockets, both client-side and server-side. This module uses the OpenSSL library.

Can't connect to https URL because the SSL module is not available RHEL?

The error states that the SSL python module is not available; meaning you either don't have an appropriate ssl lib installed (probably not since you state the system python can pip install fine), or the python you built from source or otherwise installed doesn't include the ssl module.


1 Answers

For Windows 10 if you want use pip in normal cmd, not only in Anaconda prompt. you need add 3 environment paths. like the followings:

D:\Anaconda3  D:\Anaconda3\Scripts D:\Anaconda3\Library\bin  

most people only add D:\Anaconda3\Scripts

like image 79
无名小路 Avatar answered Sep 27 '22 17:09

无名小路