【问题标题】:Installation error in Scyther for WindowsScyther for Windows 中的安装错误
【发布时间】:2018-10-26 21:40:54
【问题描述】:

我尝试使用名为 Scyther 的协议验证工具来验证协议,并尝试为我的 Windows 安装它。我按照此链接 (https://people.cispa.io/cas.cremers/scyther/install-generic.html) 的说明进行操作。我有 python 2.7、graphviz 2.38 和 wxpython 4.0.3。但是,每当我运行代码 (scyther-gui.py) 时,都会收到以下错误消息:

“回溯(最近一次调用最后一次): 文件“.......\scyther-gui.py”,第 141 行,在 MySplashScreen 类(wx.SplashScreen): AttributeError: 'module' 对象没有属性 'SplashScreen' "

此类错误可能是什么问题?

【问题讨论】:

    标签: python wxpython network-protocols


    【解决方案1】:

    SplashScreen 小部件不再在 wxPython 4 中的 wx.SplashScreen 中。它在 wx.adv.SplashScreen 中

    有关详细信息,请参阅文档:

    您必须使用旧版本的 wxPython 才能完成这项工作。

    【讨论】:

    • 嘿,你能再帮我一次吗?每当我单击打开时,我都会收到此错误:“模块”对象没有属性“打开”。你能告诉我原因吗?
    • 我找到了可能的原因。我有比我需要的高级版本的 wxpython。我有 4.0.3 版本,而我需要 2.6 / 2.7。你能告诉我如何降级wxpython的版本吗?
    • 您可以在 SourceForge 上获得旧版本 - sourceforge.net/projects/wxpython/files/wxPython
    猜你喜欢
    • 2020-07-06
    • 2013-03-30
    • 2020-04-01
    • 2015-12-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-01
    • 2014-03-23
    相关资源
    最近更新 更多