[Librdf-devel] Problems with Python interface.
Brought to you by:
dajobe
From: Jordan K. <ka...@un...> - 2002-04-21 19:52:32
|
Hi, I installed the latest version of Redland and all went smoothly. I then: cd python make build-python make test-python and as root, make install-python I got no errors, however, the example.py that the documentation on http://www.redland.opensource.ac.uk/docs/python.html refers to was never created. I tried running test/test.py but got the following error: -> python test.py Traceback (most recent call last): File "test.py", line 22, in ? import RDF ImportError: No module named RDF While make test-python seemed to run smoothly: -> make test-python PACKAGE=Redland VERSION=0.9.10 TOP_SRCDIR=.. python2.0 setup.py build Using top_srcdir .. in package Redland running build running build_py not copying RDF.py (output up-to-date) running build_ext skipping 'Redland' extension (up-to-date) Using python build dir build/lib.linux-i686-2.0 PYTHONPATH=build/lib.linux-i686-2.0 python2.0 test/test.py found statement: {[http://purl.org/net/dajobe/], [http://purl.org/dc/elements/1.1/creator], "Dave Beckett"} What could be the problem? Also where can I find applications using the Redland python bindings? Thanks, -- Jordan Katz <ka...@un...> | Mind the gap |