libspatialindex und Rtree on python

Okay, also versuche ich, @ zu installierlibspatialspatialindex auf meinem Ubuntu-Rechner Python. Ich habe alle Anweisungen befolgt und heruntergeladenlibspatialindex1_1.4.0-1.1_amd64.deb vonhttp: //packages.ubuntu.com/lucid/libspatialindex und lud die amd64-Version davon herunter, da mein Rechner ein 64-Bit-Rechner ist. Ich habe es installiert und bin dann zu Rtree python @ gesprungehttps: //pypi.python.org/pypi/Rtre, um den Rtree in Python herunterzuladen und zu installieren. Ich habe die Installationsanweisungen in der Datei install.txt im Ordner befolgt. Es heißt, führen Sie die lokale setup.py von$ python setup.py install Ich habe das auch getan, aber was ich danach bekomme, ist

`root@ubuntu:/# cd /home/neelabh/Desktop/Rtree
root@ubuntu:/home/neelabh/Desktop/Rtree# python setup.py install
Traceback (most recent call last):
File "setup.py", line 4, in <module>
import rtree
File "/home/neelabh/Desktop/Rtree/rtree/__init__.py", line 1, in <module>
from .index import Rtree
File "/home/neelabh/Desktop/Rtree/rtree/index.py", line 6, in <module>
from . import core
File "/home/neelabh/Desktop/Rtree/rtree/core.py", line 110, in <module>
rt.Error_GetLastErrorNum.restype = ctypes.c_int
File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: python: undefined symbol: Error_GetLastErrorNum`

Kann mir jemand bei der Lösung dieses Problems helfen?

Ich schätze wirklich im Voraus!

Antworten auf die Frage(2)

Ihre Antwort auf die Frage