Setup failed - line 22

70 views
Skip to first unread message

geoff....@gmail.com

unread,
Aug 30, 2019, 12:11:16 AM8/30/19
to mnemosyne-proj-users
openSUSE 15.1

I am distracted by other work now but in case this much of interest...

$ sudo python setup.py install
[sudo] password for root: 
  File "setup.py", line 22
    "Changes to this script", file=ofi)
                                  ^
SyntaxError: invalid syntax

but

$ sudo python3  setup.py install
[sudo] password for root: 
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'app'
  warnings.warn(msg)
running install
[...]


Geoff

Peter Bienstman

unread,
Aug 30, 2019, 12:17:30 AM8/30/19
to mnemosyne-...@googlegroups.com
Yes, Mnemosyne is a Python 3 application, not Python 2. On your system, 'python' points to Python 2.

Cheers,

Peter



From: geoff....@gmail.com
Sent: Friday, 30 August 2019 06:11
To: mnemosyne-proj-users
Subject: [mnemosyne-proj-users] Setup failed - line 22

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/12767d28-f2fe-4fa6-af98-143746069ca8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages