After all,i installed redland library under cygwin.<div>I tried to run te example.py for the python bindings and i am getting an error from pythonabout the unknown Redland import from RDF.py : </div><div><div>home@home-PC ~/redland-bindings-1.0.13.1/python/test</div>
<div>$ python test.py</div><div>Traceback (most recent call last):</div><div> File "test.py", line 23, in <module></div><div> import RDF</div><div> File "/usr/lib/python2.6/site-packages/RDF.py", line 126, in <module></div>
<div> import Redland</div><div>ImportError: No module named Redland</div></div><div><br></div><div>I run the below to check the sys,path of python: </div><div><div>home@home-PC ~/redland-bindings-1.0.13.1/python/test</div>
<div>$ python</div><div>Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01)</div><div>[GCC 4.3.4 20090804 (release) 1] on cygwin</div><div>Type "help", "copyright", "credits" or "license" for more information.</div>
<div>>>> import sys</div><div>>>> sys.path</div><div>['', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-cygwin', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.</div>
<div>6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']</div></div><div><br></div><div>Under '/usr/lib/python2.6/site-packages i can find Redland.so.I guess python is not able to find the imported file but the path is being set correctly.</div>
<div>I have also set PYTHONPATH and <span class="Apple-style-span" style="font-family: Courier, monospace; font-size: medium; ">LD_LIBRARY_PATH with the value of "</span>'/usr/lib/python2.6/site-packages" according to the documentation <a href="http://librdf.org/docs/python.html">http://librdf.org/docs/python.html</a>.</div>
<div>Any suggestions?</div>