atlanhq / camelot

Camelot: PDF Table Extraction for Humans
https://camelot-py.readthedocs.io
Other
3.61k stars 349 forks source link

Ghostscript on windows #366

Closed patstew closed 4 years ago

patstew commented 4 years ago

Ghostscript is available in conda-forge, but camelot won't use it. I suggest adding a dependency to the conda-forge package, and make the code in _gsprint.py look on the path before hunting in the registry. I've installed it manually, and changed the code to:

    #libgs = __win32_finddll()
    libgs = "gsdll64.dll"

as a quick hack.

vinayak-mehta commented 4 years ago

Can you please try and see if this fix works for you? https://github.com/camelot-dev/camelot/pull/32

You can install master to test it out.