Python安装第三方包RTree时候报错
root@ubuntu://home/kyon/Desktop/Rtree-0.8.2/Rtree-0.8.2# python setup.py test
Traceback (most recent call last):
File "setup.py", line 4, in <module>
import rtree
File "/home/kyon/Desktop/Rtree-0.8.2/Rtree-0.8.2/rtree/__init__.py", line 1, in <module>
from .index import Rtree
File "/home/kyon/Desktop/Rtree-0.8.2/Rtree-0.8.2/rtree/index.py", line 6, in <module>
from . import core
File "/home/kyon/Desktop/Rtree-0.8.2/Rtree-0.8.2/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
安装其他包没问题 这个包不知道怎么回事 求教
Python版本2.7.8