importing cubit on Mac OS X lion

I’ve heared I needed to change my python to 2.6 version but it still doesn’t work, I get the following:

python
Python 2.5 (r25:exported, Feb 15 2015, 20:59:28)
[GCC 4.9.2] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.

import cubit
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap: 6

What can I do?

Regards,

Ch

You might be using an older version (Cubit 13.x?). For that version of Cubit, you should use Python 2.5, not 2.6. It also appears the you are using a non-system Python installed from some other source. To be explicit, you can use:

/usr/bin/python2.5