[Python] Module Not found error: office365 not found

Discussão em 'Python' iniciado por Stack, Junho 18, 2025.

  1. Stack

    Stack Membro Participativo

    I have seen this issue with some resolutions already, but none have worked for my issue. I have pip installed the latest version of office365(v 2.2.0) to my knowledge using the command:

    pip install office365-rest-client


    I am trying to import using the following lines of code:

    from office365.runtime.auth.authentication_context import AuthenticationContext
    from office365.sharepoint.client_context import ClientContext
    from office365.sharepoint.files.file import File


    I receive the following error:

    ModuleNotFoundError: No module named 'office365'


    Just to test it out, I uninstalled and reinstalled pandas, then successfully imported pandas into my project.

    Continue reading...

Compartilhe esta Página