Hi, I installed tumlpy with
ubuntu@ip-172-31-47-182:~$ sudo easy_install python-tumblpy
Searching for python-tumblpy
Best match: python-tumblpy 1.0.2
...
Best match: requests-oauthlib 0.3.2
...
Best match: requests 1.2.2
...
Best match: oauthlib 0.6.0
...
Finished processing dependencies for python-tumblpy
Then I wrote a small file based on API console
#!/usr/bin/python
import tumblpy
import json
import oauth
import sys
client = pytumblr.TumblrRestClient(
'xxxx',
'xxx',
'xxx',
'xxx'
)
------
I get error
ubuntu@ip-172-31-47-182:~/tumblr$ python first.py
Traceback (most recent call last):
File "first.py", line 8, in <module>
client = pytumblr.TumblrRestClient(
NameError: name 'pytumblr' is not defined
------
How do I import pytumblr? What am I doing wrong?