skcript / cvscan

Your not so typical resume parser
MIT License
51 stars 34 forks source link

ModuleNotFoundError: No module named 'pdfminer.converter' #28

Open ShrinivasIyer opened 2 years ago

ShrinivasIyer commented 2 years ago

Hi I am using these codes to extract pdf text

from pdfminer.high_level import extract_text

def convert_pdf_to_txt(path):
    print('You passed in: ' + path)
    text = extract_text(path)
    return text

Filepath = sys.argv[1]

PDFtext = convert_pdf_to_txt(Filepath)
print(PDFtext)  

But it is throwing this error - ModuleNotFoundError: No module named 'pdfminer.converter'

P.S.: I have installed pdfminer.six and uninstalled pdfminer

dantearaujo1 commented 1 year ago

Im having the same error!