0
我在Mac和嘗試以下操作:Python的 「請求」 安裝問題 - HTTPBasicAuth
easy_install requests
和
pip install requests
當我在REPL蟒蛇嘗試import requests
命令我收到以下錯誤
Python 2.7.5 (default, Mar 9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "requests.py", line 4, in <module>
from requests.auth import HTTPBasicAuth
ImportError: No module named auth
我在做什麼錯?