Imago throws a SyntaxError when trying to run it

不羁岁月 提交于 2020-03-06 11:00:13

问题


I am trying to install an image forensics tool for Python, imago.

When I try to install it, using the traditional pip command, it gets installed but when I try to run it, it gives me a syntax error as:

Traceback (most recent call last):
  File "/home/ankush/.local/bin/imago", line 6, in <module>
    from imago.imago import main
   File "/home/ankush/.local/lib/python3.6/site- 
packages/imago/imago.py", line 18
    """
       ^
 SyntaxError: Missing parentheses in call to 'print'. Did you mean 
print("""\
 ##################################################
 # imago.py                                       #
 # Digital evidences from images!                 #
 # Made with <3 by Matteo Redaelli                #
 # Twitter: @solventred                           #
 ##################################################
 """)?

On searching, there turns out to be no file named "imago.py".

来源:https://stackoverflow.com/questions/56626034/imago-throws-a-syntaxerror-when-trying-to-run-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!