atlanhq / camelot

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

Error when importing #432

Open timofeeva-yuv opened 3 years ago

timofeeva-yuv commented 3 years ago

Hello! I downloaded camelot according to the instruction (considering, it's ok with python 3.5) and tried to use it but failed with the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jaguar/.local/lib/python3.5/site-packages/camelot/__init__.py", line 5, in <module>
    from .__version__ import __version__
  File "/home/jaguar/.local/lib/python3.5/site-packages/camelot/__version__.py", line 11
    version_parts.append(f"-{prerelease}")
                                        ^
SyntaxError: invalid syntax

Does smbd know how to solve this? Thanks in advance!

vinayak-mehta commented 3 years ago

Camelot only supports Python 3.6+