[wingide-users] Mac user brain lapse.

Lawson English lenglish5 at cox.net
Wed Dec 23 15:31:56 MST 2009


I'm not sure that the 32-bit ness is specifically the issue. The WX Demo 
app runs with no problem as a double-click app...
>
> I've been away from Python programming for a bit and after various 
> changes like Snow Leopard, I find that I can't get wxpython working with 
> WingIDE. I've tried to follow the instructions in the manual, but among 
> other things, there's no demo..py file, just a demo.pyw . Using that as 
> my main debug file, I get errors when trying to import wx. Specifically, 
> the line:
>
> from wx._core import * 
>
> in wx/__init__.py
>
>
>
>
>
> Suggestions?
>
>
> Thanks.
>
>
> Lawson
>
>
> ...
>
> Hi,
>
>   
>> [...] Snow Leopard, I find that I can't get wxpython working with WingIDE.
>>     
>
> Would you happen to use a 64-bit machine? Indeed, on such a computer, Snow Leopard system Python would launch as a 64-bit process, whereas the wxPython modules are 32-bit only due to some limitations in the underlying wxWidget libraries. I suggest you try from Terminal: you should get the same error as in Wing IDE, which is therefore not the culprit here.
>
> As for a fix, you may try to launch Python in 32 bit mode instead: in the Terminal,
>
> arch -i386 python .......
>
> You should be able to set up that command as the Python to run in Wing IDE as well.
>
> Hope this helps,
>
> Luc Bourhis
>
>
>   



More information about the wingide-users mailing list