How do I make setup tools install libraries to the python 2.6 directory?
I am in Centos.
Easy_install/setuptools is installing libraries to my Python 2.4 directory instead of my Python 2.6 directory (After I upgraded from 2.4 to 2.6). How do I make setup tools install libraries to the python 2.6 directory?
I had to upgrade to 2.6 to use WSGI module to run Django with Apache....
For more details about easy_install support with multiple versions of Python check out Multiple-Python-Versions found at packages.python.org.
Basically, easy_install and setuptools install libraries to the version of Python that is being used to run them. So it sounds like 2.4 is the version of Python being used when easy_install/setuptools is run. See the following question/answer on ServerFault: easy_install'ing under different Python version
It's possible that you could setup (or modify) a symlink for
/usr/bin/python
to point to the python install (2.6 I would assume) that you would like to use by default.