Changes between Initial Version and Version 1 of Ticket #30568


Ignore:
Timestamp:
Aug 3, 2011, 11:51:26 AM (13 years ago)
Author:
jmroot (Joshua Root)
Comment:

I'd assume your python is universal i386+x86_64, and since wxWidgets can only build for 32-bit archs, you would have to specifically run python in 32-bit mode to use it. e.g.

arch -i386 python2.7

So there's probably nothing that can be fixed here, unless you want to argue that python should re-execute itself as a different arch when it can't load a .so.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30568

    • Property Cc jwa@… removed
    • Property Owner changed from macports-tickets@… to jwa@…
  • Ticket #30568 – Description

    initial v1  
    11After installing this package i cannot import it.
    2 
     2{{{
    33$ python
    44Python 2.7.2 (default, Jul 29 2011, 00:57:57)
     
    1414ImportError: 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:
    1515        /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
     16}}}