SyntaxError: invalid syntax
Closed this issue · 3 comments
Deleted user commented
db3) home@home-desktop:~/p12/svglabel/examples$ svg2json with-gimp.svg image.jpg
Traceback (most recent call last):
File "/home/home/anaconda3/envs/db3/bin/svg2json", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/home/home/p12/svglabel/svg2json", line 10, in <module>
from svglabel import svg2json
File "/home/home/p12/svglabel/svglabel.py", line 59
print 'Wrote to {}'.format(outfile)
^
SyntaxError: invalid syntax
knorth55 commented
are you running with python3?
we need to change to print()
syntax for python 3.
see #6
Affonso-Gui commented
@deepseek I just merged the update to use print()
syntax, could you please check again to see if the problem was solved?
Deleted user commented
I am running python3.
Thanks to you, this issue is now solved. Keep up the good work.