[MacPorts] #31182: python27, py27-wxpython: wrong architecture

MacPorts noreply at macports.org
Thu Sep 8 21:58:35 PDT 2011


#31182: python27, py27-wxpython: wrong architecture
----------------------------------+-----------------------------------------
 Reporter:  haoweipeng@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.0.3                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------

Old description:

> # python
> Python 2.7.2 (default, Sep  8 2011, 14:27:30)
> [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 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

New description:

 {{{
 # python
 Python 2.7.2 (default, Sep  8 2011, 14:27:30)
 [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> 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
 }}}

--

Comment(by ryandesign@…):

 Use WikiFormatting please.

-- 
Ticket URL: <https://trac.macports.org/ticket/31182#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list