Getting ipythonx to work with Mac OS X

If you're trying to get ipythonx to work under Mac OS X 10.6 Snow Leopard you might get and error message like this:
ImportError: /System/Library/Frameworks/Python.framework/
_core_.so: no appropriate 64-bit architecture (see "man 
python" for running in 32-bit mode)
Here's a couple of hints:
  1. Use standard ipython instead. Unless there was something I didn't catch, ipython seems to better than ipythonx.
  2. If you want to try anyway here's the easiest way I found: In a terminal session:
    1. export VERSIONER_PYTHON_PREFER_32_BIT=yes
    2. python `which ipythonx`

No comments:

Post a Comment