How to Resolve "pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available" Error
The Python package manager, pip, requires the presence of the ssl module to establish secure connections over TLS/SSL. If you encounter the aforementioned error while using pip, it's likely due to the absence of the ssl module in your Python installation.
Solution: Adding Python Environment Paths (Windows 10)
For Windows 10 users, to enable pip functionality beyond the Anaconda prompt, you need to add the following three environment paths:
D:\Anaconda3 D:\Anaconda3\Scripts D:\Anaconda3\Library\bin
Note that adding only D:Anaconda3Scripts may be insufficient. By including all three paths, you will ensure that the ssl module and other necessary dependencies are available to pip.
The above is the detailed content of How to Fix \'pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available\'?. For more information, please follow other related articles on the PHP Chinese website!