无法访问senbox snapengine python API

2024-10-04 05:26:17 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试通过以下指令访问快照引擎https://github.com/senbox-org/snap-engine的python api: https://github.com/senbox-org/snap-engine/tree/master/snap-python/src/main/resourceshttps://senbox.atlassian.net/wiki/spaces/SNAP/pages/50855941/Configure+Python+to+use+the+SNAP-Python+snappy+interface

我使用的是ubuntu18并且已经构建了snap引擎。我安装了snappy和jpy模块,就像在安装说明中一样

python3 setup.py install --user

并在~/.local/lib/python3.6/site-packages目录中查找模块。你知道吗

但当我尝试将snappy导入python时,我发现

> import snappy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/.local/lib/python3.6/site-packages/snappy/__init__.py", line 62, in <module>
import jpyutil
ModuleNotFoundError: No module named 'jpyutil

似乎模块还没有完成。我在这里发现了类似的问题https://github.com/GlobWetlandAfrica/installer/issues/10,但没有找到解决方案


Tags: 模块pyhttpsorg引擎githubcomlocal