KartikTalwar / Duolingo

Unofficial Duolingo API Written in Python
MIT License
826 stars 128 forks source link

TypeError: __init__() got an unexpected keyword argument 'password' #32

Closed Josh2K closed 8 years ago

Josh2K commented 8 years ago

import duolingo lingo = duolingo.Duolingo('XXXX', password='XXXX')

is now generating the error: TypeError: init() got an unexpected keyword argument 'password'

ZuluPro commented 8 years ago

For me there's no error in code. Could you try to erase and rewrite this line ?

Josh2K commented 8 years ago

tried rewriting line and upgrading duolingo-api - same error: TypeError: init() got an unexpected keyword argument 'password'

ZuluPro commented 8 years ago

@Josh2K Could you give the full traceback, and your Python version?

Josh2K commented 8 years ago

hmmm, I was running this with python 2.7.6 on windows 10. I just tried the same code on Linux python 2.7.6 and it worked. Must be something wrong on my side.