Skip to Content
मेन्यू
This question has been flagged
2 Replies
787 Views

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
Discard
Best Answer

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
Discard
Author Best Answer

How do i Extract the table data from pdf invoice ?


Avatar
Discard

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

Author

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