mnemosyne
mnemosyne copied to clipboard
Setup File has syntax issue when attempting to run
Did a clean virtual env with Python 3.8.17, installed all the dependencies listed in the read me went to run sudo python setup.py install
as described in the read me and got the following error.
File "setup.py", line 21
print("; WARNING: This script has been created automatically. Changes to this script", file=ofi)
^
SyntaxError: invalid syntax
I don't see anything wrong with the syntax of that line, but perhaps the issue is in the lines above it.
Are you sure this is an unedited file, directly from us? I'm asking because our version of that file looks a bit different:
https://github.com/mnemosyne-proj/mnemosyne/blob/master/setup.py
line 21: print("; WARNING: This script has been created automatically. "+
line 22: "Changes to this script", file=ofi)
Try perhaps overwriting your version with the version from github (https://raw.githubusercontent.com/mnemosyne-proj/mnemosyne/master/setup.py)