[Baypiggies] Mac users using wxPython

Tony Cappellini tony at tcapp.com
Tue Jan 11 08:07:06 CET 2011


> In case I wasn't clear, I meant trying the wxpython.org wxpython2.7 with
> the python2.7 installed by the 32-bit python2.7 installer from
> python.org (rather than with the MacPorts-installed python2.7):

I installed python 27 via macports, but I don't know if it was 32 or 64-bit.


>
> Trying the MacPorts port of wxPython is a good idea, as well.
So I did that, tried to import wx after installing it and got this far

>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py",
line 45, in <module>
    from wx._core import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py",
line 4, in <module>
    import _core_
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so,
2): no suitable image found.  Did find:
	/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so:
mach-o, but wrong architecture
>>>


More information about the Baypiggies mailing list