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
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
...全文
相关推荐
Rtree-1.0.1-cp311-cp311-win_amd64.whl.zip
Rtree-1.0.1-cp311-cp311-win_amd64.whl.zip
基于python3.8安装geopandas相关依赖包集合
谢谢大家。东西从网上找出来,有点难找,有点难进行配置,希望大家可以点个关注,谢谢大家,可以点点赞
zed(Rust)开源项目完整源码
「zed(Rust)开源项目完整源码」是开源项目(Rust)。项目简介:Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.源码完整,下载解压即可查看使用,适合学习参考、课程设计与二次开发。
IEC 63281-3-1:2024 电动运输车 - 第3-1部分:考虑实际使用温度条件的电动滑板车总运行时间性能测试方法 - 完整英文电子版(30页)
IEC 63281-3-1:2024规定了电动滑板车单人运输总运行时间的测试方法,考虑了用户在不同温度下驾驶时的实际使用温度条件,用于公路或公共场所。 本文件不涵盖残障人士或老年人的电动滑板车。此外,本文件不包括货运电动滑板车。
植物大战僵尸神人版-手机版-arm64-2026.10.30-手机版.apk.1
植物大战僵尸神人版-手机版-arm64-2026.10.30-手机版.apk.1



