walidazizi / rdflib

Automatically exported from code.google.com/p/rdflib
Other
0 stars 0 forks source link

installation error with Python 3 #199

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 <module>
    from rdflib import __version__
  File "C:\rdflib-3.1.0\rdflib\__init__.py", line 64, in <module>
    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. 

Original issue reported on code.google.com by gigaim...@gmail.com on 18 Dec 2011 at 6:04

GoogleCodeExporter commented 8 years ago
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/

Original comment by tak...@gmail.com on 18 Dec 2011 at 11:48