How to set pypi to be trusted?


light blue

I am trying to use Python wheels. When I do that pip install wheel, it says there is a requirement, but I get this SSL error:

(base) C:\Users\xxxx\PycharmProjects\prepay_clone>pip install wheel
Requirement already satisfied: wheel in c:\programdata\anaconda3\lib\site-packages (0.33.1)
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:1056)'))) - skipping

I ignored it at first because the wheel seemed to be installed. However, when I run it later setup.py sdist bdist_wheel, it outputs absolutely nothing.

Thanks in advance!

Mark J

To answer your question, the --trusted-hostflag tells pip not to use SSL for the specified host. I've been having this problem on my corporate network. I found it to work 99% of the time:

pip --trusted-host pypi.org --trusted-host files.pythonhosted.org install wheel

I'm not sure if this is your problem, pip seems to be telling you that the wheel is already installed.

Related


How to set pypi to be trusted?

light blue I am trying to use Python wheels. When I do that pip install wheel, it says there is a requirement, but I get this SSL error: (base) C:\Users\xxxx\PycharmProjects\prepay_clone>pip install wheel Requirement already satisfied: wheel in c:\programdata\

How to set pypi to be trusted?

light blue I am trying to use Python wheels. When I do that pip install wheel, it says there is a requirement, but I get this SSL error: (base) C:\Users\xxxx\PycharmProjects\prepay_clone>pip install wheel Requirement already satisfied: wheel in c:\programdata\

How to set pypi to be trusted?

light blue I am trying to use Python wheels. When I do that pip install wheel, it says there is a requirement, but I get this SSL error: (base) C:\Users\xxxx\PycharmProjects\prepay_clone>pip install wheel Requirement already satisfied: wheel in c:\programdata\

How to set pypi to be trusted?

light blue I am trying to use Python wheels. When I do that pip install wheel, it says there is a requirement, but I get this SSL error: (base) C:\Users\xxxx\PycharmProjects\prepay_clone>pip install wheel Requirement already satisfied: wheel in c:\programdata\

How to set up two PyPI indexes

paebbels I have a local GitLab installer with a local PyPI server to store my company's internal Python packages. How can I configure my PyPI to search for packages in both index servers? I read about .pypirc/ pip/pip.iniand found various settings, but no solu

How to set up two PyPI indexes

paebbels I have a local GitLab installer with a local PyPI server to store my company's internal Python packages. How can I configure my PyPI to search for packages in both index servers? I read about .pypirc/ pip/pip.iniand found various settings, but no solu

How to set up two PyPI indexes

paebbels I have a local GitLab installer with a local PyPI server to store my company's internal Python packages. How can I configure my PyPI to search for packages in both index servers? I read about .pypirc/ pip/pip.iniand found various settings, but no solu

How to list certificates trusted by OpenSSL?

Konstantin Shemyak From what I understand, any software that uses X.509 certificates may have its own basis for deciding whether a certificate is trusted. AFAIK OpenSSL just queries a list (eg /etc/ssl/certs) and checks if a certificate exists there. Is there

How to list certificates trusted by OpenSSL?

Konstantin Shemyak From what I understand, any software that uses X.509 certificates may have its own basis for deciding whether a certificate is trusted. AFAIK OpenSSL just queries a list (eg /etc/ssl/certs) and checks if a certificate exists there. Is there

How to get a trusted SSL certificate?

substitute I want to secure my symfony2 application with https. I followed the instructions on how to create an SSL certificate and the SSL works fine, but Firefox says this page is not trusted. Same goes for Safari. How to get a trusted SSL certificate? Dextr

How to list certificates trusted by OpenSSL?

Konstantin Shemyak From what I understand, any software that uses X.509 certificates may have its own basis for deciding whether a certificate is trusted. AFAIK OpenSSL just queries a list (eg /etc/ssl/certs) and checks if a certificate exists there. Is there

How to get a trusted SSL certificate?

substitute I want to secure my symfony2 application with https. I followed the instructions on how to create an SSL certificate and the SSL works fine, but Firefox says this page is not trusted. Same goes for Safari. How to get a trusted SSL certificate? Dextr

How to get a trusted SSL certificate?

substitute I want to secure my symfony2 application with https. I followed the instructions on how to create an SSL certificate and the SSL works fine, but Firefox says this page is not trusted. Same goes for Safari. How to get a trusted SSL certificate? Dextr

How to set Pypi package without dot in absolute import - Python3

username Most "professional" python modules can be imported like this: from pythonfile import class This is how I usually import my own classes in the local filesystem/current directory. But after looking at several posts and python.org documentation, I still

How to set Pypi package without dot in absolute import - Python3

username Most "professional" python modules can be imported like this: from pythonfile import class This is how I usually import my own classes in the local filesystem/current directory. But after looking at several posts and python.org documentation, I still

How do trusted root certificates appear in my trusted root list?

Ian Boyd Google is removing CNNIC as a trusted root. I want to make sure I don't save them in the certificate store anyway. So I checked certmgr.msc and looked for them. None of them are by my side: Trusted Root Certification Authorities, also Third-Party Root

How do trusted root certificates appear in my trusted root list?

Ian Boyd Google is removing CNNIC as a trusted root. I want to make sure I don't save them in the certificate store anyway. So I checked certmgr.msc and looked for them. None of them are by my side: Trusted Root Certification Authorities, also Third-Party Root