小编Ven*_*n R的帖子

Python-camelot(安装时出现错误:GhostscriptNotFound)

我正在尝试使用 Camelot 从 pdf 中提取表格数据,但出现以下错误。

代码:

tables = camelot.read_pdf(file_name)
Run Code Online (Sandbox Code Playgroud)

错误:

GhostscriptNotFound:请确保安装了 Ghostscript 并且在 PATH 环境变量中可用

我已经安装了 Ghostscript,并且可以在 PATH 环境变量中使用它。

请查看以下版本详细信息:

  • Windows-10-10.0.17134-SP0
  • Python 3.6.5 |Anaconda, Inc.| (默认,2018 年 3 月 29 日,13:32:41)[MSC v.1900 64 位 (AMD64)]
  • NumPy 1.14.3
  • openCV 3.4.3
  • 卡米洛特 0.3.2

请帮助解决此问题。

python python-camelot

5
推荐指数
3
解决办法
1万
查看次数

标签 统计

python ×1

python-camelot ×1