我已经设置了 Orange 并尝试在 PythonWin中执行此代码
并在第二行出错
我的 Orange 设置不完整还是其他原因?
>>> from Orange.data import *
>>> color = DiscreteVariable("color", values=["orange", "green", "yellow"])
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
NameError: name 'DiscreteVariable' is not defined