kalyangkm
asked on
Data extractor for PDF invoices - invoice2data.......OCR/ML...Python
Hi Folks,
I trying to run the code for the Data extractor for PDF invoices as given in the following resource. I am using pycharm for running this code. But though I see the relevant packages and folders I am still getting this error for every package. For example i get the following error when I try to run the main program.
https://github.com/invoice-x/invoice2data
Traceback (most recent call last):
File "/Users/kalyangolla/Documents/Invoice_PDF_OCR/invoice2data-master/src/invoice2data/main.py", line 10, in <module>
from .input import pdftotext
ImportError: attempted relative import with no known parent package
I trying to run the code for the Data extractor for PDF invoices as given in the following resource. I am using pycharm for running this code. But though I see the relevant packages and folders I am still getting this error for every package. For example i get the following error when I try to run the main program.
https://github.com/invoice-x/invoice2data
Traceback (most recent call last):
File "/Users/kalyangolla/Documents/Invoice_PDF_OCR/invoice2data-master/src/invoice2data/main.py", line 10, in <module>
from .input import pdftotext
ImportError: attempted relative import with no known parent package
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER