botocore explodes when installed alongside pyOpenSSL, ndg-httpsclient and pyasn1
See original GitHub issueI’m not an expert with boto or botocore, so apologies in advance if this is a duplicate or whatever, but I can’t find anything related in the issues on GH. To reproduce, create a new virtualenv and do the following:
pip install pyOpenSSL==0.14 ndg-httpsclient==0.3.2 pyasn1==0.1.7 botocore==0.38
python
>>> import botocore.vendored.requests
Output:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/bhuber/envs/sandbox/local/lib/python2.7/site-packages/botocore/vendored/requests/__init__.py", line 53, in <module>
from .packages.urllib3.contrib import pyopenssl
File "/home/bhuber/envs/sandbox/local/lib/python2.7/site-packages/botocore/vendored/requests/packages/urllib3/contrib/pyopenssl.py", line 55, in <module>
orig_connectionpool_ssl_wrap_socket = connectionpool.ssl_wrap_socket
AttributeError: 'module' object has no attribute 'ssl_wrap_socket'
>>>
This is a direct manifestation of a bug closed in requests==2.1.0: https://github.com/kennethreitz/requests/issues/1732 . Updating the requests lib would probably fix it.
As a workaround, pip install pyopenssl==0.12
currently fixes it for me.
Issue Analytics
- State:
- Created 9 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Installation Guide - WireCloud - Read the Docs
This section describes all the requirements of a basic WireCloud installation. However, these dependencies are not meant to be installed manually in this...
Read more >Private Python Package Repository | by Vithulan MV - Medium
Python downloads its dependencies from PyPI repositories by default. It contains latest versions (can be stable or not) and various amount ...
Read more >Databricks Runtime 3.0 (Unsupported)
With this feature, users can obtain the exception records, reasons and time from the exception logs without interrupting the jobs.
Read more >Compare Packages Between Distributions - DistroWatch.com
Complete summaries of the Gentoo Linux and Debian projects are available. Note: In case where multiple versions of a package are shipped with...
Read more >Lintian Reports by Package - Debian
... arcanist-clang-format-linter · arc-gui-clients · arch-install-scripts · archivemount · archmage · archmbox · arch-test · archvsync · arcp · arc-theme ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same problem with installing awscli on Ubuntu 15.04. I worked around by doing:
@guss77 worked on ubuntu 14.04, Thanks.