[wxpython-users] AttributeError, wxPython, py2exe
Tim van der Leeuw
tnleeuw at gmail.com
Wed Sep 3 04:40:14 PDT 2008
On Wed, Sep 3, 2008 at 1:22 PM, Hades Pluto <robert.pluto at gmail.com> wrote:
> Hi Werner,
>
> I always removed the dist folder only and not the build.
> Now I removed them both and it works!
> Thanks Werner!
>
Great!
That means that in the build folder older versions of various where still
present, and some fileswhere copied into there that referenced names not
present in the older files.
It's always a good idea to clean up the build folder when there's a trouble
that can't be explained easily. Or when upgrading some of the libraries
used.
Regards,
--Tim
>
> Best regards,
> Robert
>
>
>
>
> On Wed, Sep 3, 2008 at 1:11 PM, Werner F. Bruhin <werner.bruhin at free.fr>w=
rote:
>
>> Hi Rob,
>>
>> Hades Pluto wrote:
>>
>>> Hi Werner,
>>>
>>> morinus.py line 4: import wx
>>>
>> Is your setup.py or the script running it clearing out the build folders
>> (build and dist)?
>>
>>>
>>> Rob
>>>
>>> ...
>>>
>>> File "wx\__init__.pyc", line 45, in <module>
>>> File "wx\_core.pyc", line 14713, in <module>
>>> File "wx\_controls.pyc", line 7458, in <module>
>>> AttributeError: 'module' object has no attribute
>>> '_AxBaseWindow_swigregister'
>>>
>>> I can't find this in my ansi or unicode wxPython installs. Very
>> strange, maybe someone like Robin can enlighten us.
>>
>> Werner
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200809=
03/1733be6a/attachment.htm
More information about the wxpython-users
mailing list