librdf-devel Mailing List for Redland RDF Libraries
Brought to you by:
dajobe
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Jordan K. <ka...@un...> - 2002-04-21 19:59:04
|
This extra piece of info may be helpful: -> python Python 2.2.1 (#1, Apr 20 2002, 11:41:25) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import RDF Traceback (most recent call last): File "<stdin>", line 1, in ? File "RDF.py", line 60 __debug__=value SyntaxError: can not assign to __debug__ Thanks again, -- Jordan Katz <ka...@un...> | Mind the gap |
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 |