pattern
pattern copied to clipboard
SyntaxError in Installation
pip install patter in python3.6 in all the print there is a SyntaxError: Missing parentheses in call to 'print'.
That is likely because the code was written in Python 2 style:
print "Hello World"
rather than Python 3 style:
print("Hello World")
The readme of the master branch says:
Pattern supports Python 2.7 and Python 3.6+. The Python 3 version is currently only available on the development branch.
So try to clone the repo, checkout to 'development' and then run python3 setup.py install. For me it worked (but had to run the install script with sudo)
+1