错误:
wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_VERTICAL)" failed at ..\..\src\common\sizer.cpp(2147) in wxBoxSizer::DoInsert(): Vertical alignment flags are ignored in vertical sizers
OnInit returned false, exiting...
错误原因:
可能是wxPython 的额外类缺失
解决办法:
额外运行下 pip install -U wxPython==4.0.7.post2
这个就好了
参考资料:
https://ask.csdn.net/questions/2033419