Flexx AttributeError类型对象IOLoop没有属性curren

2024-09-30 12:25:14 发布

您现在位置:Python中文网/ 问答频道 /正文

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

Tags: textcmdapp网站exampleguibuttonexport
1条回答
网友
1楼 · 发布于 2024-09-30 12:25:14

我想我们在同一个班。
得到同样的问题。在

原因是关于pyzmq和tornado的版本
尝试pip3 install tornado==5来升级你的龙卷风

那么龙卷风和pyzmq就可以正常工作了。在

相关问题 更多 >

    热门问题