setup.py fails with invalid syntax in line 51

Asked by Rose-g

setup.py fails with:

root@leopard:/usr/src/genesis-sync-gtk3(80)# python setup.py
  File "setup.py", line 51
    except (OSError, IOError), e:
                                                  ^
SyntaxError: invalid syntax

root@leopard:/usr/src/genesis-sync-gtk3(82)# env python
Python 3.2.3 (default, May 4 2012, 21:31:13)
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

Question information

Language:
English Edit question
Status:
Solved
For:
Genesis Sync Edit question
Assignee:
No assignee Edit question
Solved by:
Rose-g
Solved:
Last query:
Last reply:
Revision history for this message
Frederik Elwert (frederik-elwert) said :
#1

Thanks for your question.

This branch uses GTK3, but still with Python 2. It looks like you are using Python 3 on your system. While it is desirable to port Genesis to Python 3 in the foreseeable future, I am not yet working on it. Patches welcome!

I created a bug report for it, so we can keep track of the progress there.

Revision history for this message
Rose-g (rose-g) said :
#2

Thanks Frederik,
I have python-2.7 and python-3.2 installed, after switching to python-2.7 as default I could also install genesis-sync-0.7.1.