0

I have installed the python "requests" module using pip:

C:\Users\Isaiah>c:/python33/scripts/pip.exe install requests
Downloading/unpacking requests
Installing collected packages: requests
Successfully installed requests
Cleaning up...

C:\Users\Isaiah>python.exe
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named requests

And get the error shown above when I try to import it. What gives?

Isaiah Taylor
  • 615
  • 1
  • 4
  • 17

1 Answers1

2

installed to python33

used Python 2.5

uralbash
  • 3,219
  • 5
  • 25
  • 45
  • Wait so my "python.exe" refers to an old installation? – Isaiah Taylor Feb 07 '14 at 21:06
  • Try to set PYTHONPATH http://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-7 – uralbash Feb 07 '14 at 21:08
  • @IsaiahTaylor Look at the first line printed after you start python.exe: `Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win 32`. It tells you what version you are running. – SethMMorton Feb 07 '14 at 21:19