Home >Backend Development >Python Tutorial >Why is pip Failing with a \'Missing ssl Module\' Error and How Can I Fix It on Windows 10?
pip TLS/SSL Issue with Missing ssl Module in Python
When attempting to use pip to install modules in Python 3.6, you may encounter the following error:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
Solution for Windows 10
To resolve this issue on Windows 10 and enable pip usage in the standard Command Prompt, it is necessary to update three environment paths. Typically, only the D:Anaconda3Scripts path is added, but the following three paths should be included instead:
By adding these paths, pip will have the necessary permissions to locate and utilize the required modules for installation.
The above is the detailed content of Why is pip Failing with a \'Missing ssl Module\' Error and How Can I Fix It on Windows 10?. For more information, please follow other related articles on the PHP Chinese website!