weixin_43660316 2021-07-27 00:00 采纳率: 75%
浏览 1490
已结题

系统提示OSError: Ghostscript is not installed,如何解决?

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
为什么还报错?求解。

  • 写回答

2条回答 默认 最新

  • Circle-C 2021-10-04 22:31
    关注

    img


    确定cmd能打开gswin64后,注释掉红框中的判断

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 11月22日
  • 已采纳回答 11月14日
  • 创建了问题 7月27日

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?