双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

Python安装第三方包RTree时候报错

ITACHI_CN ITACHI_CN 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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
...全文

相关推荐

评论 6
收藏 已收藏
分享
返回顶部
ITACHI_CN
脚本语言 37,738 成员 34,208 内容