“ImportError: file_cache is unavailable” when using Python client for Google service account file_cache

后端 未结 8 1743
孤城傲影
孤城傲影 2021-01-30 16:03

I\'m using a service account for G Suite with full domain delegation. I have a script with readonly access to Google Calendar. The script works just fine, but throws an error (o

8条回答
  •  无人及你
    2021-01-30 16:33

    Tried all the solutions that were listed, but none of them worked. Until I tried the (simple) suggestion from @dtk that was listed somewhere in the comments :

    Install an older version of oauth2client by running:

    pip install oauth2client==3.0.0
    

    Now everything works fine for me. Thank you @dtk !

提交回复
热议问题