**boa_constructor安装后运行Boa.py出错**

澹台新知
2023-12-01

错误显示缺少模块‘NO_3D’,主要原因:Boa Constructor is a very old project which hasn’t had a release (or any commits that I could see) for 7 years. It’s very likely that the code was written for a much older version of wxWindows/wxPython, and that the wx.NO_3D constant has been removed/renamed in later wx releases. (BOA构造函数是一个非常古老的项目,它没有发布(或者我可以看到的任何承诺)7年。很可能代码是为一个更旧版本的WxWindows/WxPython编写的,并且Wx.NOY3D常数已经在以后的WX版本中被删除/重命名。)
将wxpython2.8安装在python2.7中再安装Boa Constructor后运行正常,说明老版本wxpython中的模块‘NO_3D’在新版中确已不存在。原先在python3.6下安装的wxpython4.0.3都不能正常运行Boa Constructor。
另外强调,Boa Constructor 确实太老,太久没有更新,导致问题太多,不建议使用。

 类似资料: