-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL Error on pip installations Win7 x64 #5288
Comments
I'm having the same issue. I know PyPI just switched something in the backend, but trying various combinations of pypi.org and pythonhosted.org as trusted hosts don't seem to help. Happy to provide more information about my set up if that's useful, but I'm assuming this is probably just a question of getting the correct trusted host(s) set up. |
I was able to workaround this issue for now by installing the certifi package using an upgraded pip before installing any other packages. |
Nothing is working PIP 10.0.0 |
Unfortunately, this won't help with corporate proxies when the certificate is self-signed. We previously used "pypi.python.org" with the "trusted_host" setting to avoid certificate problems, but it looks like after the backend changes this isn't sufficient. @ashwinipatankar are you also going through a proxy? |
yes |
Experiencing the same issues behind corporate proxy:
Python 3.6.4 |
Pinging @dstufft, @ewdurbin and @brainwane on this. |
It appears the issue is a corporate proxy/firewall/mitm-box is not allowing traffic to tl;drYou need access to:
Brain dumpDomains of PyPIInteracting with the Index currently has 3 hostnames:
|
i can access all the three urls in a browser (corporate proxy), but pip fails. |
@ashwinipatankar Same here, resolution was to trust all 3 of the domains listed above. For example, to upgrade pip:
|
@brianmxwll Thanks it worked. |
Trusting the additional domains worked for me. Thank you! |
Thanks @ewdurbin! You're awesome. :) I'll close this issue since OP's problem is now resolved. |
The command line above works for me, but I can't get this to work from a pip.ini file. I tried: [global]
trusted-host=
pypi.python.org
pypi.org
files.pythonhosted.org which seems like the correct syntax. @pradyunsg would you like me to file another issue about this? |
Yeps! |
Ah, actually, never mind, some meticulous searching turned up an additional config file that was interfering. Looks like the snippet posted above does work, thanks! |
@starcruiseromega |
Trusting the additional domains worked for me, also. Thanks!!! |
I currently get the following error when installing ANY package via pip (this is just a single example). I'm running Anaconda on Windows 7 behind a corporate proxy. I've tried turning off SSL verification in the Anaconda Navigator preferences but it does not seem to matter. I've updated to the latest pip (10) although this issue was happening on versions 9.0.1 and 9.0.3.
I have updated the pip.ini file to contain pypi.python.org as a trusted host and I've also included the proxy settings in the same file. I've also checked that that the condarc file has the relevant proxy settings. In that file I have tested with SSL_verify being true OR false and neither has worked so I'm at a loss as to the cause of this. I don't have these issues on conda-forge channels.
Below is my current configuation:
The text was updated successfully, but these errors were encountered: