我从以下位置下载并安装了 python 的 twitter 包装器:
https://python-twitter.googlecode.com/files/python-twitter-1.1.tar.gz
这就是我现在代码中的全部内容:
import simplejson
import httplib2
import twitter
这是我得到的错误:
Traceback (most recent call last):
File "C:\Python27\Scripts\tweets.py", line 3, in <module>
import twitter
File "build\bdist.win-amd64\egg\twitter.py", line 38, in <module>
File "C:\Python27\lib\site-packages\requests_oauthlib-0.4.0-py2.7.egg\requests_oauthlib\__init__.py", line 1, in <module>
from .oauth1_auth import OAuth1
File "C:\Python27\lib\site-packages\requests_oauthlib-0.4.0-py2.7.egg\requests_oauthlib\oauth1_auth.py", line 3, in <module>
from oauthlib.common import extract_params
ImportError: No module named oauthlib.common
我可以安装哪个模块来阻止此错误?