我想将 Brightway2 数据库导出到 gexf 文件以使用 Gephi 对其进行可视化,如下所示: https ://chris.mtel.org/visualizing-ecoinvent.html
当我尝试导出它时,我得到一个 KeyError。
我的代码是:
import brightway2 as bw
from bw2io.export.gexf import DatabaseToGEXF
gephi = DatabaseToGEXF("ecoinvent 3.5 cutoff")
gephi.export()
有人可以帮我吗?