-
Notifications
You must be signed in to change notification settings - Fork 953
'Api' object has no attribute '_Api__auth' #119
Comments
I have this exact same problem... |
That means we suck at documentation :( The twitter.Api() method has 4 required parameters On Wed, Nov 20, 2013 at 7:34 PM, Gersande [email protected] wrote:
Bear [email protected] (email) PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29 |
Related I think, I've just today picked up this library, and trying to follow the example in the README:
So.. not only is it not throwing an error that required params are missing, it seems like that example code is not right at all ? Awkward, because there's no real clues on how to start working with this in a non-command-line way? |
this is another problem - your using the other twitter python lib ours is installed using: pip install python-twitter On Thu, Nov 21, 2013 at 4:07 PM, Japhy Bartlett [email protected]:
Bear [email protected] (email) PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29 |
Oh! Thank you, many apologies for the noise. |
Thanks very much! |
Hi. Can you just delete this line from the README.md file:
|
That part is still accurate. What is happening is way back when there was only two Python Twitter So that is accurate, people just find our docs online when they are On Wed, Dec 4, 2013 at 3:56 PM, kureta [email protected] wrote:
Bear [email protected] (email) PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29 |
so this command |
it does install the package but we are a single .py module library so the which, yes, causes some new folks all kinds of confusion. What we should do is work hard on v2 and change the name so it matches the On Wed, Dec 4, 2013 at 4:18 PM, kureta [email protected] wrote:
Bear [email protected] (email) PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29 |
sorry for taking your time but on a previous comment you have said |
never worry about asking too many questions, each question is something we correct, I do need to change the README to have a more realistic example
On Wed, Dec 4, 2013 at 4:27 PM, kureta [email protected] wrote:
Bear [email protected] (email) PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29 |
Thanks for your really quick responses. I am just a hobbyist. I don't even know how to submit a PR. I tried to edit the README.md file. Hope I did it right. If so, it is my first actual contribution to an open-source project. Not a big one though :) |
I am able to post a tweet using python-twitter. I do not understand what is going on? Can I get some help? |
i found solution to this problem in following site [http://himanen.info/solved-attributeerror-module-object-has-no-attribute-api/][1] There are two Python libraries conflicting: twitter library and python-twitter library. The solution was quite straightforward:
Then I just made it sure that python-twitter was certainly installed:
Thank you himanen it worked for me |
Thanks for updating the group with your solution! On Tue, Jul 7, 2015 at 2:00 AM, u.v.n.r.ayyappaswamy <
Bear [email protected] (email) PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29 |
Not sure why, when or how this started happening, but if I just do
self.twitter = twitter.Api()
my code has a bad time:But if I use twitter.Api with named params then it's all good:
The first example was taken from your readme, so it should work.
Ideas?
The text was updated successfully, but these errors were encountered: