擅长:python、mysql、java
<p>显然这是一个已知的错误,但由于某些原因没有被修复。。。见<a href="https://github.com/igraph/python-igraph/issues/88" rel="nofollow noreferrer">GtiHub issue tracker</a></p>
<p>您需要手动编辑文件,并将错误行替换为(例如)</p>
<pre><code>result = io.getvalue()
return result.decode("utf-8")
</code></pre>