Python camelot lib - OS error while reading pdf table


I am using camelot 0.7.3 version to extract the tables from a pdf file. when I try to read the tables using camelot.read_pdf('') (it throws same error for local pdf too)

I am facing below error. I am using python 3.7 and pycharm IDE for my project. Any help is much appreciated

Traceback (most recent call last):
      File "<input>", line 1, in <module>
      File "C:\RG\Python\PDFTabProject\venv\lib\site-packages\camelot\", line 113, in read_pdf
        tables = p.parse(
      File "C:\RG\Python\PDFTabProject\venv\lib\site-packages\camelot\", line 171, in parse
        t = parser.extract_tables(
      File "C:\RG\Python\PDFTabProject\venv\lib\site-packages\camelot\parsers\", line 403, in extract_tables
      File "C:\RG\Python\PDFTabProject\venv\lib\site-packages\camelot\parsers\", line 220, in _generate_image
        with Ghostscript(*gs_call, stdout=null) as gs:
      File "C:\RG\Python\PDFTabProject\venv\lib\site-packages\camelot\ext\ghostscript\", line 90, in Ghostscript
        return __Ghostscript(
      File "C:\RG\Python\PDFTabProject\venv\lib\site-packages\camelot\ext\ghostscript\", line 39, in __init__
        rc = gs.init_with_args(instance, args)
      File "C:\RG\Python\PDFTabProject\venv\lib\site-packages\camelot\ext\ghostscript\", line 169, in init_with_args
        rc = libgs.gsapi_init_with_args(instance, len(argv), c_argv)
    OSError: exception: access violation writing 0x00000080
asked on Stack Overflow Mar 8, 2020 by Ravindar G

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0