Home > Backend Development > Python Tutorial > Why is pip Failing with a \'Missing ssl Module\' Error and How Can I Fix It on Windows 10?

Why is pip Failing with a \'Missing ssl Module\' Error and How Can I Fix It on Windows 10?

DDD
Release: 2024-11-22 07:37:14
Original
228 people have browsed it

Why is pip Failing with a

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
Copy after login

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:

  • D:Anaconda3
  • D:Anaconda3Scripts
  • D:Anaconda3Librarybin

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template