trouble running python

I use numpy so I want to use the python installed on my machine, how do I do that?

I am using linux and the command line version of 2.7.2

On one machine I can go into bin/breve_cli and comment out the line
export PYTHONHOME=$DIRECTORY/../
and it works great

But on other linux machines when I comment out that line I get the error:
File "lib/classes/breve/__init__.py", line 3, in ?
import sys, os, math, random, array
ImportError: /lusr/python/lib/python2.4/lib-dynload/array.so: undefined symbol: PyUnicodeUCS2_FromUnicode

Thanks,
Jonathan