Python, pyPdf, Adobe PDF OCR error: unsupported filter /lzwdecode
My stuff: python 2.6 64 bit (with pyPdf-1.13.win32.exe installed). Wing IDE. Windows 7 64 bit. I got the following error: NotImplementedError: unsupported filter /LZWDecode When I ran the following code: from pyPdf import PdfFileWriter, PdfFileReader import sys, os, pyPdf, re path = 'C:\\Users\\Homer\\Documents\\' # This is where I put my pdfs filelist = os.listdir(path) has_text_list = [] does_not_have_text_list = [] for pdf_name in filelist: pdf_file_with_directory = os.path.join(path, pdf_name) pdf = pyPdf.PdfFileReader(open(pdf_file_with_directory, 'rb')) for i in range(0, pdf.getNumPages(