import camelot
import ghostscript
tables = camelot.read_pdf(r'C:\Users\Doris\Desktop\1.pdf',pages='2',flavor='lattice')
OSError: Ghostscript is not installed. You can install it using the instructions here: https://camelot-py.readthedocs.io/en/master/user/install-deps.html
我下载安装了ghostscript.exe,并且配置了环境变量
C:\Program Files (x86)\gs9.54.0\bin
C:\Program Files (x86)\gs9.54.0\lib
为什么还报错?求解。