Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
785 Zobrazení

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?


Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor Nejlepší odpověď

How do i Extract the table data from pdf invoice ?


Avatar
Zrušit

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