[PYTHON] Error with pip: There was a problem confirming the ssl certificate

environment OS Name Microsoft Windows 10 Enterprise Python 3.8.3 pip 20.1.1 Today's date 2020-10-8

After installing the Python package with pip on my company computer,

There was a problem confirming the ssl certificate I got the error.

pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org analytics-mayhem-adobe


 Then, I was able to install the package safely.


---------------
 Full error
Could not fetch URL https://pypi.org/simple/analytics-mayhem-adobe/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/analytics-mayhem-adobe/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping
ERROR: Could not find a version that satisfies the requirement analytics-mayhem-adobe (from versions: none)
ERROR: No matching distribution found for analytics-mayhem-adobe
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) - skipping


Recommended Posts

Error with pip: There was a problem confirming the ssl certificate
Note that there was a version problem with networkx
Error with pip install
A memorandum when an error occurs with pip install
When reading an image with SimpleITK, there is a problem if there is Japanese in the path
A network diagram was created with the data of COVID-19.
Finding a solution to the N-Queen problem with a genetic algorithm (2)
Make a SonicWall SSL VPN connection with the Linux CLI
A story about installing matplotlib using pip with an error
A story about how to deal with the CORS problem
Finding a solution to the N-Queen problem with a genetic algorithm (1)
Solving the nurse scheduling problem (shift optimization) with a genetic algorithm
Is the new corona really a threat? Validated with Stan (was)
I wanted to solve the ABC164 A ~ D problem with Python
Solve the Python knapsack problem with a branch and bound method
Solve the subset sum problem with a full search in Python
The 16th offline real-time how to write problem was solved with Python
The LXC Web Panel that can operate LXC with a browser was wonderful
I got an SSL related error with pip install, so I solved it
Try to solve the traveling salesman problem with a genetic algorithm (Theory)
I get a Python No module named'encodings' error with the aws command
Install the python module with pip on a server without root privileges
The 15th offline real-time how to write problem was solved with python