[Python] Can't install docTR. Why?

Discussão em 'Python' iniciado por Stack, Abril 15, 2025.

  1. Stack

    Stack Membro Participativo

    I have been following the git Install guide for docTR and could successfully install it in a google colab. When I try it identically in my local PyCharm I always got error:

    ModuleNotFoundError: No module named 'doctr.io'; 'doctr' is not a package

    I retrieve it with:

    from doctr.io import DocumentFile from doctr.models import ocr_predictor

    I tried it in a fresh anaconda env aswell as venv, both throw the same error. I tried the tensorflow pip install aswell as the git clone. Always "ModuleNotFoundError"

    Continue reading...

Compartilhe esta Página