我正在尝试在python中导入rtree。
导入时出现以下错误
OSError: Could not find libspatialindex_c library file网上搜索说我需要在运行时安装libspatialindex !pip在Jupyter中安装libspatialindex,我得到这个错误
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement libspatialindex (from versions: none)
ERROR: No matching distribution found for libspatialindex在这里进行搜索,它说要安装conda并运行https://libspatialindex.org/
conda install -c conda-forge libspatialindex=1.9.3conda目前不在AI平台笔记本上。我不确定如何安装它,我还没有看到在AI平台上安装的在线说明
最好的下一步是什么?谢谢
发布于 2020-03-19 18:42:40
我按照这个链接中的说明,将它们粘贴到jupyterlab中的termal中,它可以将前两个代码块粘贴到终端中。然后,您将可以导入rtree https://github.com/libspatialindex/libspatialindex/wiki/1.-Getting-Started
https://stackoverflow.com/questions/60745022
复制相似问题