RDFLib/rdflib — Issue #184: installation error with Python 3
Author: gjhiggins
Created: 2012-02-20 08:34:39+00:00
State: open

gigaim...@gmail.com, 2011-12-18T06:04:18.000Z

What steps will reproduce the problem?

PS C:\rdflib-3.1.0> python .\setup.py install

What is the expected output? What do you see instead?

Traceback (most recent call last):
File ".\setup.py", line 6, in
from rdflib import __version__
File "C:\rdflib-3.1.0\rdflib\__init__.py", line 64, in
from rdflib.term import URIRef, BNode, Literal, Variable
File "C:\rdflib-3.1.0\rdflib\term.py", line 367
except TypeError, te:
^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?

Win7, Python 3.2, rdflib-3.1.0

Please provide any additional information

Same error seen for both, in standalone installation and installing selenium webdriver 2.15 for python.

Comment 1 by tak...@gmail.com
Rdflib 3.1 is not compatible with Python 3. The development version does work in Python 3, so please grab it and test: http://code.google.com/p/rdflib/source/browse/