关于 CYaRon,这个问题如何解决?
  • 板块灌水区
  • 楼主Eason_cyx大愚若智
  • 当前回复3
  • 已保存回复3
  • 发布时间2024/4/8 21:20
  • 上次更新2024/4/9 00:14:26
查看原帖
关于 CYaRon,这个问题如何解决?
741244
Eason_cyx大愚若智楼主2024/4/8 21:20

系统版本:Windows 11.
Python 版本:Python 3.11.
代码:

from cyaron import *
graph = Graph.UDAG(4, 7)
io.input_writeln(graph.to_str(output=Edge.unweighted_edge))

报错:

Traceback (most recent call last):
  File "F:/qwert.py", line 3, in <module>
    io.input_writeln(graph.to_str(output=Edge.unweighted_edge))
AttributeError: module 'cyaron.io' has no attribute 'input_writeln'

怎么办?

2024/4/8 21:20
加载中...