RDFLib/rdflib — Issue #183: Error in using rdfalchemy and rdflib
Author: gjhiggins
Created: 2012-02-20 08:34:37+00:00
State: open

imrantau...@gmail.com, 2011-10-22T01:34:29.000Z

What steps will reproduce the problem?
1.Installed rdfalchemy, rdflib
2.Imported rdfalchemy and rdflib in my code and when run the code, it gives me following error
3.Traceback (most recent call last):
File "C:\Python27\sesame.py", line 40, in
import rdfalchemy
File "build\bdist.win32\egg\rdfalchemy\__init__.py", line 2, in
from rdfalchemy.Literal import Literal
File "build\bdist.win32\egg\rdfalchemy\Literal.py", line 10, in
from rdflib.Literal import bind as bindLiteral
ImportError: No module named Literal
What is the expected output? What do you see instead?
Code should run properly

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

Please provide any additional information below.
Could you please help..
Thanks in advance

Comment 1 by gjhigg...@gmail.com
This is not an issue with rdflib. It's either a broken installation of rdflib or an attempt to use an incorrect version of rdflib with rdfalchemy, the latter being more likely. Installation of the released version of rdfalchemy requires rdflib 2.4.0. installation of the development version of rdfalchemy requires rdflib 2.4.0=> <=2.4.9.