shichao-an / twitter-photos

Simple, fast command-line tool to get photos from Twitter accounts
https://twitter-photos.shichao.io
BSD 2-Clause "Simplified" License
171 stars 39 forks source link

Unable to Read Credentials #14

Open MateoGodlike opened 7 years ago

MateoGodlike commented 7 years ago

Traceback (most recent call last): File "/usr/local/bin/twphotos", line 11, in sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/twphotos/photos.py", line 285, in main tl_type=args.type) File "/usr/local/lib/python2.7/dist-packages/twphotos/photos.py", line 49, in init self.api = twitter.Api(consumer_key=CONSUMER_KEY, AttributeError: 'module' object has no attribute 'Api'

I have already edited the ~/.twphotos that contains all of my credentials.

I run Cat ~/.twphotos and all of my [credentials] are there and increments is at the bottom empty.