-
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
Could not fetch : There was a problem confirming the ssl certificate(SSL.c:3566) #5063
Comments
Hi @sai306! Are you working behind a proxy? |
Yes. I am working in a corporate environment.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Pradyun Gedam <notifications@github.com>
Sent: Tuesday, March 13, 2018 1:20:43 AM
To: pypa/pip
Cc: sai306; Mention
Subject: Re: [pypa/pip] Could not fetch : There was a problem confirming the ssl certificate(SSL.c:3566) (#5063)
Hi @sai306<https://github.com/sai306>!
Are you working behind a proxy?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#5063 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Ajkockj3ZyA32sW6FssfM78qPHg2PEbbks5td1cqgaJpZM4Smu-a>.
|
@sai306 You can workaround this by using --trusted-host="pypi.python.org" |
Your proxy seems to be making it difficult for pip to validate the SSL certificates. You should be able to workaround this by trusting the host machines for pypi.org, files.pythonhosted.org and pypi.python.org; albeit that's not the most secure solution.
|
Closing since I don't see anything actionable here for pip. :) |
I solved it just now ! what we have to do is to add --trusted-host ! For instance:
Hope it will be helpful ! |
The trusted host workaround does not work anymore because pip has disabled non-ssl connections. "--trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org" |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description: Trying to Install Azure Cli 2 in my windows 10 system.
Error Des:
Could not fetch URL https://pypi.python.org/simple/azure-cli/: There was a problem confirming the ssl certificate: unknown error (_ssl.c:3566) - skipping
Could not find a version that satisfies the requirement azure-cli (from versions: )
No matching distribution found for azure-cli.
What I've run: pip install --user azure-cli
The text was updated successfully, but these errors were encountered: