问题
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