Home > Backend Development > Python Tutorial > Why Is My pip Installation Failing Due to a Missing SSL Module?

Why Is My pip Installation Failing Due to a Missing SSL Module?

Susan Sarandon
Release: 2024-11-24 10:37:11
Original
584 people have browsed it

Why Is My pip Installation Failing Due to a Missing SSL Module?

Unable to Install Modules Using Pip Due to Missing SSL Module

When attempting to install modules using pip3 in Python 3.6, you may encounter an error message: "pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available."

This issue arises because Python lacks the necessary ssl module, which is required for accessing secure HTTPS locations. To resolve this, you will need to add the following three environment paths for Windows 10:

D:\Anaconda3 
D:\Anaconda3\Scripts
D:\Anaconda3\Library\bin 
Copy after login

Most users inadvertently forget to add the "bin" path, resulting in the installation failure. By adding these paths, you can ensure that pip has access to the SSL module and can proceed with module installation without encountering the SSL error.

The above is the detailed content of Why Is My pip Installation Failing Due to a Missing SSL Module?. 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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template