Re: Python 3.4 problem with requests module

2016-04-08 Thread Chris Angelico
On Sat, Apr 9, 2016 at 4:24 AM, Lee Fig <1lee...@gmail.com> wrote: > print(socket.__file__) > > seems to confirm that all is well. It refers to my Lib folder: > C:\work\tools\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\Lib\socket.py > > How frustrating. I will Google shadow importing as thats a new

Re: Python 3.4 problem with requests module

2016-04-08 Thread Chris Angelico
On Sat, Apr 9, 2016 at 2:00 AM, <1lee...@gmail.com> wrote: > from socket import _fileobject, timeout, error as SocketError > > But I get a python exception on this last line: > > ImportError was unhandled by user code > Message: cannot import name '_fileobject' > > > I am running Python 3.4 and ha

Re: Python 3.4 problem with requests module

2016-04-08 Thread Steven D'Aprano
On Sat, 9 Apr 2016 02:00 am, 1lee...@gmail.com wrote: > import OpenSSL.SSL > from pyasn1.codec.der import decoder as der_decoder > from pyasn1.type import univ, constraint > from socket import _fileobject, timeout, error as SocketError > > But I get a python exception on this last line: > > Impo

Python 3.4 problem with requests module

2016-04-08 Thread 1leefig
Hi all, I would appreciate any thoughts that you may have regarding a troublesome build error. I am at my wits end. For some strange reason a get a single error on importing. It's to do with the requests module and pyopenssl.py The comment block indicates: This needs the following packages ins