Skip to content
This repository was archived by the owner on Oct 2, 2018. It is now read-only.

get-pip.py got no attribute 'PROTOCOL_SSLv3' error #140

Closed
czchen opened this issue Feb 2, 2015 · 3 comments
Closed

get-pip.py got no attribute 'PROTOCOL_SSLv3' error #140

czchen opened this issue Feb 2, 2015 · 3 comments

Comments

@czchen
Copy link

czchen commented Feb 2, 2015

The AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3' is showed when running get-pip.py. The problem is that the requests package in get-pip.py is old one which expects ssl.PROTOCOL_SSLv3 exists. However, this is not the case because SSLv3 is insecure now and distro likes Debian remove it from OpenSSL using OPENSSL_NO_SSLv3. This behavior is compliance with official Python document, and requests upstream had fix not to assume ssl.PROTOCOL_SSLv3 exists.

Please help to update the content of get-pip.py so that the error will not happen, thanks.

@chantra
Copy link
Contributor

chantra commented Feb 11, 2015

PR #142 should fix this I believe.

@czchen
Copy link
Author

czchen commented Feb 12, 2015

👍

@coderanger
Copy link
Member

This is no longer an issue in https://github.com/poise/poise-python as get-pip.py is not bundled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants