Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
821 Vizualizări

I did the exact same but in windows.

pip install "python-doctr[torch]" returns Requirement already satisfied.

But then, from doctr.io import DocumentFile returns ModuleNotFoundError: No module named 'doctr.io'; 'doctr' is not a package

In my case, pip list is showing me the installation python-doctr 0.7.0

Installing it from source had the same result. can u help?


Imagine profil
Abandonează
Cel mai bun răspuns

Hi,
May be if you are using a different python version to run other than in which the installation is made ? Can you ensure you are installing the package in the same version which is used to run the odoo instance.

If you are using the Pycharm IDE, try installing the package from it: How To Install Python Packages From Pycharm



Thanks

Imagine profil
Abandonează
Autor Cel mai bun răspuns

How do i Extract the table data from pdf invoice ?


Imagine profil
Abandonează

what is your purpose, why to get from the report ? with orm you can access same data from the db

Autor

i want to upload pdf invoice in a binary field then extract table data in sale.order.line i try many library python but not available in odoo sh can u give solution