有谁知道这个问题的解决方案吗?
编辑:这个问题被关闭了,因为问题似乎不清楚。
所以问题是错误“属性错误:模块'wx'没有属性'adv'”,尽管一切似乎都是正确的。
实际上,一切都很好,问题出在另一台PC上,其中“import wx.adv”导致分段错误。
$ python
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'4.0.7.post2 gtk3 (phoenix) wxWidgets 3.0.5'
>>> wx.adv.NotificationMessage
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'wx' has no attribute 'adv'
>>>
还是有任何其他“非侵入性”通知方法?
慕姐4208626
慕尼黑8549860
相关分类