mnemosyne icon indicating copy to clipboard operation
mnemosyne copied to clipboard

Setup File has syntax issue when attempting to run

Open Samurai336 opened this issue 1 year ago • 1 comments

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

Samurai336 avatar Oct 10 '23 14:10 Samurai336

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)

pbienst avatar Oct 10 '23 17:10 pbienst