我无法执行 tabula-py 的read_pdf
功能。
它似乎正在产生以下错误消息:
WindowsError: [Error 2] The system cannot find the file specified
带回溯:
Traceback (most recent call last):
File "C:/Users/riley/PycharmProjects/Payroll/PayrollParsePDF.py", line 126, in <module>
print read_pdf(r"C:\Users\riley\Desktop\Bank Statements\53591.pdf")
File "C:\Python27\lib\site-packages\tabula\wrapper.py", line 54, in read_pdf_table
output = subprocess.check_output(args)
File "C:\Python27\lib\subprocess.py", line 212, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "C:\Python27\lib\subprocess.py", line 390, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 640, in _execute_child
startupinfo)
关于为什么会这样的任何见解?它以前工作正常。