从 camelot.io
导入 read_pdf
tables=read_pdf("C:/Users/xiaobo/OneDrive/桌面/20190719113125784774.pdf", pages='1',flaver='stream')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Program Files\Python37\lib\site-packages\camelot\io.py", line 117, in read_pdf
**kwargs
File "D:\Program Files\Python37\lib\site-packages\camelot\handlers.py", line 165, in parse
self._save_page(self.filepath, p, tempdir)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 8-12: ordinal not in range(256)