问题描述
我在 CentOS 系统 wx.html2 中使用 wxpthon 库编写 UI 程序。 WebView控件,提示如下错误:
File "main.py",line 143,in <module>
frame = DemoFrame()
File "main.py",line 101,in __init__
self._mainPanel = MainPanel( self )
File "main.py",line 17,in __init__
self.view = wx.html2.WebView.New(self)
NotImplementedError
我的部分代码是这样的:
class MainPanel( sp.ScrolledPanel ):
#Main Panel
def __init__( self,parent ):
sp.ScrolledPanel.__init__( self,parent=parent )
self.SetupScrolling()
self.view = wx.html2.WebView.New(self)
self.view.LoadURL( "http://www.baidu.com" )
CentOS 版本:CentOS Linux release 8.2.2004 (Core)
Python 版本:Python 3.6.8
wxPython 版本:4.1.1 gtk3(凤凰)wxWidgets 3.1.5
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)