當我通過啓動腳本「Boa.py」啓動命令行蟒蛇構造函數,我得到的消息說,「無法啓動蟒蛇構造函數成功
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位Python 2.7」,有人說這是因爲wxPython的版本不匹配,但對我來說只有64位或32位,我不知道如何處理這個問題。重新安裝Python,它的版本是2.6?
感謝您的幫助。