Can not start Boa constructor, get Error: 'module' object has no attribute 'NO_3D'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yxzhang
    New Member
    • Jan 2014
    • 2

    Can not start Boa constructor, get Error: 'module' object has no attribute 'NO_3D'

    I have a problem to start Boa Constructor.
    The error message is:
    C:\Python26>c:\ python26\python .exe C:\Python26\Lib \site-packages\boa-constructor\boa .py
    Starting Boa Constructor v0.6.1
    importing wxPython
    reading user preferences
    Traceback (most recent call last):
    File "C:\Python26\Li b\site-packages\boa-constructor\boa .py", line 271, in <module>
    import Preferences, Utils
    File "C:\Python26\Li b\site-packages\boa-constructor\Pre ferences.py", line 151, in <modul
    e>
    execfile(file)
    File "C:\Documen ts and Settings\Admini strator\.boa-constructor\pre fs.rc.py", line 26, in
    <module>
    splitterStyle = wx.SP_LIVE_UPDA TE | wx.SP_3DSASH | wx.NO_3D
    AttributeError: 'module' object has no attribute 'NO_3D'

    The syetem is: WinXP
    Installed:
    Python 2.6.5
    wxPython 3.0.0.0 for Python 2.6

    Please help.

    Thanks
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    This is not a Python problem, but a wx or boa constructor problem. Reinstall the wx version that matches your python version http://wxpython.org/download.php#stable and if that doesn't work the boa constructor forum might be a better choice http://sourceforge.net/p/boa-constructor/discussion/

    Comment

    • yxzhang
      New Member
      • Jan 2014
      • 2

      #3
      Thanks for the reply.

      Finally boa is working on my windows.
      The solution in my case is:
      Python 2.6.5
      Install boa-construction 0.6.1
      Also install wxPython 2.8.11.0 and pywin32-214

      Thank

      Comment

      Working...