Skip to content

Instantly share code, notes, and snippets.

@awreece
Created October 28, 2012 02:34
Show Gist options
  • Save awreece/3967230 to your computer and use it in GitHub Desktop.
Save awreece/3967230 to your computer and use it in GitHub Desktop.
$ VERSIONER_PYTHON_PREFER_32_BIT=yes python
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] 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 "/Library/Python/2.7/site-packages/wx/__init__.py", line 45, in <module>
from wx._core import *
File "/Library/Python/2.7/site-packages/wx/_core.py", line 4, in <module>
import _core_
ImportError: dlopen(/Library/Python/2.7/site-packages/wx/_core_.so, 2): Symbol not found: __ZN11wxClassInfo8sm_firstE
Referenced from: /Library/Python/2.7/site-packages/wx/_core_.so
Expected in: flat namespace
in /Library/Python/2.7/site-packages/wx/_core_.so
>>> ^D
$ python
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> ^D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment