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.
Hi @sai306!
Are you working behind a proxy?
Yes. I am working in a corporate environment.
Get Outlook for iOShttps://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 @sai306https://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 GitHubhttps://github.com/pypa/pip/issues/5063#issuecomment-372550364, or mute the threadhttps://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.
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org ...
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:
python -m pip install --upgrade pip --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org
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.
Most helpful comment
Hi @sai306!
Are you working behind a proxy?