在用InVEST模型中计算土壤保持服务遇到这样的问题?
请问如何解决?
重新安装软件也是这个问题,输入数据的投影都一致。
“2025-10-17 09:41:57 taskgraph.Task ERROR Something went wrong when adding task sediment deposition (26), terminating taskgraph.
ImportError: Could not import module 'logging'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "taskgraph\Task.py", line 684, in add_task
File "taskgraph\Task.py", line 1103, in _call
SystemError: <cyfunction calculate_sediment_deposition at 0x000001EF306125C0> returned a result with an exception set
2025-10-17 09:41:57 natcap.invest.utils ERROR Exception while executing sdr
ImportError: Could not import module 'logging'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "natcap\invest\utils.py", line 171, in prepare_workspace
File "natcap\invest\spec.py", line 1937, in execute
File "natcap\invest\sdr\sdr.py", line 971, in execute
File "taskgraph\Task.py", line 684, in add_task
File "taskgraph\Task.py", line 1103, in _call
SystemError: <cyfunction calculate_sediment_deposition at 0x000001EF306125C0> returned a result with an exception set”
