CMD compile Error 我正在学习使用flexx创建GUI网站。这是我教授的一个例子。当我试图编译它时,它返回AttributeError type object IOLoop has no attribute current
。为什么?在
from flexx import flx
class Example(flx.Widget):
def init(self):
flx.Button(text='Hello')
flx.Button(text='world')
app = flx.App(Example)
app.export('example.html',link=0) #export to singe file
app.launch('browser') #show it now in a broswer
flexx.run() # enter the mainloop
我想我们在同一个班。
得到同样的问题。在
原因是关于pyzmq和tornado的版本
尝试
pip3 install tornado==5
来升级你的龙卷风那么龙卷风和pyzmq就可以正常工作了。在
相关问题 更多 >
编程相关推荐