I'm trying to use the requests module, but I'm having trouble importing it. I'm running Python 3.4.2 (which I checked is officially supported) on Windows 7.
I've tried installing it the following ways, each time with no luck:
- Using pip install requests.
- Downloading the zip ball and installing using setup.py install
- Downloading the source code and manually copying the folder to Python34/Lib/site-packages.
In all those cases, I can see that the requests library is in the site-packages folder.
If I run import requests from the python interpreter, it works fine. This works:
>>> import requests
It always results in this error:
Traceback (most recent call last):
File "E:\test.py", line 1, in <module>
ImportError: No module named requests