Cannot update OpenSSL for Python3

Chris Angelico rosuav at gmail.com
Mon May 4 13:49:37 EDT 2015


On Tue, May 5, 2015 at 3:19 AM, Cecil Westerhof <Cecil at decebal.nl> wrote:
> It looks like I am encircled by Gremlins:
>     >>> import urllib3.contrib.pyopenssl
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>       File "/usr/lib/python3.4/site-packages/urllib3/contrib/pyopenssl.py", line 58, in <module>
>         from socket import _fileobject, timeout
>     ImportError: cannot import name '_fileobject'

This is looking like a pyopenssl bug - I can't import that name
either, and given that it has the leading underscore, it's probably
not an official part of the socket module's API.

ChrisA



More information about the Python-list mailing list