Opened 9 years ago

Closed 14 months ago

#11160 closed defect (outdated)

wxPython breaks on new OS X Snow Leopard

Reported by: PN Owned by: robind
Priority: normal Milestone:
Component: wxPython Version: 2.8.x
Keywords: OS X Snow Leopard breaks wxPython no 64bit binaries Cc:
Blocked By: Blocking:
Patch: no


OS X Snow Leopard now includes Python 2.6.1 in 64bit mode by default on all Macs.

The Mac OS X Binaries for wxPython do not include 64bit compilations resulting in the following error when trying to run any Python program that uses wxPython on OS X Snow Leopard:

ImportError: /usr/local/lib/wxPython-unicode- no appropriate 64-bit architecture

While a stop gap measure is to try and force the system Python to run into 32bit mode this is not default setting and this error will be obvious on every default installation of OS X Snow Leopard as the OS.

Change History (3)

comment:1 Changed 9 years ago by robind

  • Owner set to robind
  • Status changed from new to accepted

Currently wxPython is using Carbon so it can not be 64-bit. That will come later in the 2.9 or 3.0 release series once we switch to Cocoa by default.

In the meantime you should be able to install MacPython from and use that with the newer wxPython releases instead of the Python provided by Apple.

comment:2 Changed 9 years ago by cariaso

While I don't have Snow Leopard to verify and I'm eager for the long term fix
suggests the easiest workaround may be to launch "Terminal" and type this command.

defaults write Prefer-32-Bit -bool yes

comment:3 Changed 14 months ago by robind

  • Resolution set to outdated
  • Status changed from accepted to closed

Closing old Phoenix tickets...

If this is still an issue in wxPython 4.0.0a1 then please open a new issue (or PR) at the wxPython-Phoenix project page on Github:

Note: See TracTickets for help on using tickets.