【问题标题】:Ghostscript not installing properly - find_library('gs') returns NoneGhostscript 未正确安装 - find_library('gs') 返回无
【发布时间】:2021-06-18 01:57:41
【问题描述】:

我正在尝试安装 camelot,但由于某种原因,Ghostscript 无法正确安装,所以每当我尝试使用 read_pdf 时,我都会收到错误 RuntimeError: Please make sure that Ghostscript is installed

当我去检查是否使用ctypes.util.find_library 安装了 Ghostscript 时,它找不到它。我已经在终端使用自制软件安装了 Ghostscript(Warning: ghostscript 9.54.0 is already installed and up-to-date. 当我第二次尝试安装时,我非常确定它已经安装)。

camelot 文档告诉我出了点问题,但没有具体说明。

有人能解释我的错误在哪里吗?

【问题讨论】:

    标签: python macos installation ghostscript python-camelot


    【解决方案1】:

    您需要为python安装ghostscript并将bin文件夹添加到环境变量路径。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-20
      • 2021-05-14
      • 2016-07-21
      • 2021-05-30
      • 2019-06-01
      • 2016-04-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多