我正在尝试开始使用 evernote SDK,我正在使用 ubuntu 13.04
我通过以下方式安装了 SDK:
pip install evernote
但是当我想使用以下方法对其进行测试时:
python -c 'from evernote.api.client import EvernoteClient'
我懂了 :
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named api.client
问题是什么 ?
编辑:pip install evernote
我想工作得很好,它给了我这个:
Requirement already satisfied (use --upgrade to upgrade): evernote in /usr/local/lib/python2.7/dist-packages/evernote-1.24.0-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): oauth2 in /usr/lib/python2.7/dist-packages (from evernote)
Requirement already satisfied (use --upgrade to upgrade): httplib2 in /usr/lib/python2.7/dist-packages (from oauth2->evernote)
Cleaning up...
这是教程:http: //dev.evernote.com/start/guides/python.php