On Mon, Jul 27, 2009 at 2:20 PM, Brian Burke<[email protected]> wrote:
> I was wondering if anyone has any advice for this problem.  I got rtree to
> work on my desktop (Windows), but have not gotten it to work on the linux
> server I use.  I'm not a linux person, so I'm out of my element here, but
> here's what happens.  Our IT guy loaded the Spatialindex and rtree files.
> When I try to import rtree, I get this:
>
>>>> import rtree
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File
> "/usr/lib64/python2.4/site-packages/Rtree-0.4.3-py2.4-linux-x86_64.egg/rtree/__init__.py",
> line 5, in ?
>     from pkgutil import extend_path
>   File "/usr/lib64/python2.4/pkgutil.py", line 3, in ?
>     import os
>   File "/usr/lib64/python2.4/os.py", line 133, in ?
>     from os.path import (curdir, pardir, sep, pathsep, defpath, extsep,
> altsep,
> ImportError: No module named path
>
> I found that it's really an error that occurs inside _rtree, because when I
> try to just load Rtree, I get:
>
>>>> from rtree import Rtree
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File
> "/usr/lib64/python2.4/site-packages/Rtree-0.4.3-py2.4-linux-x86_64.egg/rtree/__init__.py",
> line 8, in ?
>     from _rtree import Rtree
> ImportError: libspatialindex.so.1: cannot open shared object file: No such
> file or directory
>
> It's like rtree can't find the Spatialindex, even though I know we loaded
> it.  Any suggestions?
> -Brian
>
>
> _______________________________________________
> Community mailing list
> [email protected]
> http://lists.gispython.org/mailman/listinfo/community
>
>

hi, did you run ldconfig?
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to