Hi @urgendalai,
Are you running the latest version of invest, 3.9.1? I see your script was generated with version 3.9.0. If you are not already using 3.9.1, please try it, there have been some updates to taskgraph which may be relevant.
Hi @esoth , sorry I am new to use programming on the Linux system, do you know how to install the newest version?
Should something like this “pip install natcap.invest/3.9.1” ?