无法导入cartopy
当我尝试导入 cartopy 时出现此错误:ImportError: libproj.so.25: 无法打开共享对象文件:没有这样的文件或目录
。
cartopy 需要 PROJ 8.0.0 或更高版本,我安装了 PROJ 9.0.0。 proj
位于 /usr/local/lib
,我尝试通过运行 shell 命令将路径添加到 LD_LIBRARY_PATH:export LD_LIBRARY_PATH=/lib:/usr/ lib:/usr/local/lib
指定的所有其他依赖项 这里很满意。
操作系统:Ubuntu 18.04
Python 版本:3.8
预先感谢您的帮助!
Getting this error when I try to import cartopy: ImportError: libproj.so.25: cannot open shared object file: No such file or directory
.
cartopy requires PROJ 8.0.0 or higher and I have PROJ 9.0.0 installed. proj
is at /usr/local/lib
, and I tried adding the path to LD_LIBRARY_PATH by running the shell command: export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
All the other dependencies specified here are satisfied.
OS: Ubuntu 18.04
Python version: 3.8
Thanks in advance for the help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论