Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106706
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Python 3.4 problem with requests module |
| Date | 2016-04-09 04:27 +1000 |
| Message-ID | <mailman.97.1460140044.2253.python-list@python.org> (permalink) |
| References | <cf3f3eab-6d8d-49d4-932a-b3905f5bac53@googlegroups.com> <CAPTjJmr9AkWiJKKPWtHMz89pDmLb4HdRmChWDUxVxwe-ch5nqA@mail.gmail.com> <CAPFbfweS3+m7+q6gA35ypu534i_DV=SPQAFcazwEb46Wgunteg@mail.gmail.com> <CAPFbfwd=VAPrrHe2uZ2QLV0YuNX9ia_M8LJgVkPBB5jqwgOtMA@mail.gmail.com> <CAPTjJmott6G9mEmsiti9bc0sELU6Gdd9z9HA33dUVTmCsXHnHA@mail.gmail.com> |
On Sat, Apr 9, 2016 at 4:24 AM, Lee Fig <1leefig@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python 3.4 problem with requests module 1leefig@gmail.com - 2016-04-08 09:00 -0700 Re: Python 3.4 problem with requests module Chris Angelico <rosuav@gmail.com> - 2016-04-09 02:24 +1000 Re: Python 3.4 problem with requests module Steven D'Aprano <steve@pearwood.info> - 2016-04-09 02:27 +1000 Re: Python 3.4 problem with requests module Chris Angelico <rosuav@gmail.com> - 2016-04-09 04:27 +1000
csiph-web