标签: networkx pickle
我正在尝试腌制networkx图,但遇到下一个错误
can't pickle generator objects
我读过TypeError: can't pickle generator objects,您无法腌制发生器。如何在图形对象中找到生成器在哪里?有没有办法在对象上递归遍历并找到类型== generator?