使用pdfplumber过程中,出现AttributeError: ‘LTChar‘ object has no attribute ‘graphicstate错误

错误提示

AttributeError: ‘LTChar’ object has no attribute 'graphicstate‘
在这里插入图片描述

解决方法

先卸载 pdfminer.six

pip uninstall pdfminer.six

再安装 pdfminer.six

pip install pdfminer.six

成功!!!

posted @ 2023-04-07 15:37  jixn  阅读(47)  评论(0)    收藏  举报  来源