raisr
raisr copied to clipboard
Can't get it running, syntax error
I've tried setting up your project using Python 2.7 (as far as I can tell PIL will not work with Python 3.x) and installed all listed dependencies. When I try running python train.py this error is encountered:
File "train.py", line 60
print('\r', end='')
^
SyntaxError: invalid syntax
this is a syntax using in python3, and you need to use python3 instead of python2 or you need to modify these 'print's to python2 syntax.
But this project is dependent on PIL, and PIL is not available for Python3 https://www.pythonware.com/products/pil/ is there another PIL implementation that will work?
I used this PIL fork: https://python-pillow.org/, instead.
Use pillow.
pip install pillow