Testing with Ika

Using the usual ride.py command to run on Mac OS X won’t just work.

If you’re getting the error below, then you’re in the right place:

python should be executed in 32-bit mode to support wxPython on mac. Check BUILD.rest for details

Don’t worry, this doesn’t mean that RIDE does not work on Mac OS X; it’s just that OS X runs Python on 64-bit mode by default but RIDE needs a 32-bit Python. To solve this, you just have to instruct OS X to use the 32-bit one before running RIDE.

An easy way to get around this is by creating a simple executable script (a shell script).

Step 1: Create the Script

  1. Open TextEdit
  2. Paste the entire text below:

    #!/bin/bash
    export VERSIONER_PYTHON_PREFER_32_BIT=yes
    ride.py

  3. Save it as ride.sh

*The secret here is in the VERSIONER_PYTHON_PREFER_32_BIT environment variable. It tells the OS to use the 32-bit mode of Python.

Step…

View original post 83 more words