next up previous contents index
Next: How to Install numpy Up: Developer's Guide Previous: How to Install Boost   Contents   Index

How to use your own version of python

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'.



2013-06-11