We help IT Professionals succeed at work.
Get Started
Troubleshooting Question

Data extractor for PDF invoices - invoice2data.......OCR/ML...Python

Last Modified: 2020-08-12
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.


   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
Watch Question
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE