Python 3.4 problem with requests module
Chris Angelico
rosuav at gmail.com
Fri Apr 8 14:27:16 EDT 2016
On Sat, Apr 9, 2016 at 4:24 AM, Lee Fig <1leefig at 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 one on me.
> Please feel free to mention any further thoughts
Please respond to the list, so everyone can see things.
Did you run that from the exact same place that your imports were failing?
Try, immediately after the print call above, "import requests". Does
it still fail?
ChrisA
More information about the Python-list
mailing list