当我通过启动脚本“Boa.py”从命令行启动 boa-constructor 时,我收到消息说“
D:\Python27\Lib\site-packages\boa-constructor>python Boa.py
Starting Boa Constructor v0.6.1
importing wxPython
reading user preferences
Traceback (most recent call last):
File "Boa.py", line 271, in <module>
import Preferences, Utils
File "D:\Python27\Lib\site-packages\boa-constructor\Preferences.py", line 151
in <module>
execfile(file)
File "C:\Users\madfrog\.boa-constructor\prefs.rc.py", line 26, in <module>
splitterStyle = wx.SP_LIVE_UPDATE | wx.SP_3DSASH | wx.NO_3D
AttributeError: 'module' object has no attribute 'NO_3D'
我的 python 版本是 2.7.4,我下载了 wxPyton “32-bit Python 2.7”。有人说是因为wxPython版本不匹配,但是对我来说只有64位或者32位,不知道怎么处理这个问题。也许我应该重新安装python,哪个版本是2.6?
谢谢你的帮助。