[Python] Why am I getting a ModuleNotFoundError when trying to quickstart the Google Docs API...

Discussão em 'Python' iniciado por Stack, Agosto 1, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to use Python to read a Google Doc, and I have been following the tutorial found here: https://developers.google.com/workspace/docs/api/quickstart/python

    However, when I run quickstart.py, I get the following error message:

    ModuleNotFoundError: No module named 'google.auth'; 'google' is not a package


    I have tried pip installing google.auth multiple times, but it has not fixed the error. Is there anything else I can do to fix this or some other method of reading a Google Doc in Python?

    Continue reading...

Compartilhe esta Página