cannot import name SignedJwtAssertionCredentials
darrmitchell opened this issue · comments
python ./import-mailbox-to-gmail.py --json credentials.json --dir ./mbox/
Traceback (most recent call last):
File "./import-mailbox-to-gmail.py", line 33, in
from oauth2client.client import SignedJwtAssertionCredentials
ImportError: cannot import name SignedJwtAssertionCredentials
I'm no developer, but Google seems to think SignedJwtAssertionCredentials is deprecated? Running on Mac OS X 10.11.3
Are you using the latest version?
Nope. That fixed it. I clicked the version in the readme on the front page:
Download the script - import-mailbox-to-gmail.py
Sorry about that.