File "/Users/rasmus/Dev/repos-others/pylatexenc/pylatexenc/latex2text.py", line 667
print "Please type some latex text (Ctrl+D twice to stop) ..."
^
SyntaxError: invalid syntax
To fix, convert print statements to use the print(...). Add from __future__ import print_function at the top to retain python2 compatability.
Another syntax error on Python 3.6:
To fix, convert
print
statements to use theprint(...)
. Addfrom __future__ import print_function
at the top to retain python2 compatability.