If the python you want to use in your computer is not found by CMake, you may set up environment variables ''PYTHON_ROOT'' and ''PYTHON_VERSION''. For example, if your python is at /usr/local/python2.4/bin/python. PYTHON_ROOT is ''/usr/local/python2.4''. if your python is 2.4.X, PYTHON_VERSION is '2.4'.