赞
踩
I am trying to use the pdfminer command line tool to convert a pdf file to an html file, after running this
pdf2txt.py -o output.html -t html casino.pdf
I am getting the following error:
Traceback (most recent call last):
File "/usr/local/bin/pdf2txt.py", line 101, in
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 an unexpected keyword argument 'outdir'
I have used this library before and it was working perfectly, I am really having a hard time to understand whats going on
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。