python - Converting PDF to html with PDFminer -
i trying use pdfminer command line tool convert pdf file html file, after running this
pdf2txt.py -o output.html -t html casino.pdf
i getting following error:
traceback (most recent call last): file "/usr/local/bin/pdf2txt.py", line 101, in <module> if __name__ == '__main__': sys.exit(main(sys.argv)) file "/usr/local/bin/pdf2txt.py", line 87, in main layoutmode=layoutmode, laparams=laparams, outdir=outdir) typeerror: __init__() got unexpected keyword argument 'outdir'
i have used library before , working perfectly, having hard time understand whats going on
here link library http://www.unixuser.org/~euske/python/pdfminer/index.html
it seems working after deleting , re-installing library
Comments
Post a Comment