为什么“请求”不起作用?

时间:2014-02-07 21:02:08

标签: python xmlhttprequest pip python-requests

我已经使用pip安装了python“requests”模块:

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

当我尝试导入时,会出现上面显示的错误。是什么给了什么?

1 个答案:

答案 0 :(得分:2)

安装到python33

使用Python 2.5