[Python-modules-team] Bug#781781: python-urllib3: Despite claims, it still throws AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
Daniele Tricoli
eriol at mornie.org
Fri Apr 3 11:53:34 UTC 2015
tag 781781 + moreinfo
thanks
Hello Tim,
thanks for the report!
Tim Sailer wrote:
> Attempting to install python-pygeoip via pip results in:
> [truncated]
> File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line
> 53, in <module> from .packages.urllib3.contrib import pyopenssl
> File
> "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/p
> yopenssl.py", line 70, in <module> ssl.PROTOCOL_SSLv3:
> OpenSSL.SSL.SSLv3_METHOD,
> AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
>
> I installed 1.10-1 because the 1.9.1-3 still had the error. Same error.
Can you provide more info? I was not able to reproduce this. I tried both
installing on my $HOME and on a virtualenv:
❯ pip install --user pygeoip
Downloading/unpacking pygeoip
Downloading pygeoip-0.3.2-py2.py3-none-any.whl
Installing collected packages: pygeoip
Successfully installed pygeoip
Cleaning up...
❯ mkvirtualenv geotest
Running virtualenv with interpreter /usr/bin/python2
New python executable in geotest/bin/python2
Also creating executable in geotest/bin/python
Installing setuptools, pip...done.
(geotest)eriol at mornie ~ ❯ pip install pygeoip
Downloading/unpacking pygeoip
Downloading pygeoip-0.3.2-py2.py3-none-any.whl
Installing collected packages: pygeoip
Successfully installed pygeoip
Cleaning up...
Debian pip use wheel, what version of pyhon-urllib3-whl have you got
installed?
Kind regards,
--
Daniele Tricoli 'Eriol'
http://mornie.org
More information about the Python-modules-team
mailing list