Your pip install is in another version of Python on your Mac - probably the default one. Asking for it's version will tell you:
- Code: Select all
$pip -V
pip 1.4.1 from /Library/Python/2.6/site-packages (python 2.6)
So the version of pip I have installed and in my path is using Python 2.6 - because the default version of Python on Lion is 2.6. pip will then install any libraries it manages into the appropriate directories for Python 2.6.
What you'll need to do is either install your library some other way (not using pip) or install pip in your Python 2.5 installation. You can download 1.3.1 of pip (the last version that supported Python 2.5) and then when running the setup use
python2.5 rather than
python on the command line - that should force the setup scripts to run in the 2.5 installation. There may be a few other bumps since I haven't done it before, and there are some requirements for pip so you'll need to look at the pip install docs to get those installed as well.