Hi

I am running OS X 10.5 Leopard. It ships with Python 2.5.1 and I just installed Python 2.5.4 from python.org.

The site-packages directory for 2.5.1 is located at
/Library/Python/2.5/site-packages

The 2.5.1 interpreter is located at
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5

The 2.5.4 interpreter is located at
/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5

The thing is that now that I have installed 2.5.4 there are two issues:

1) 2.5.4 does not use the same site-packages directory so I cannot use the modules I have. How do I tell it which directory to use for site-packages?

2) IPython is still using 2.5.1. How do I tell it to user the new interpreter?

Thank you in advance.

That is a solution that I have considered. But my question was meant to be more general. How is the site-packages directory determined for that installation of Python? Is there a system file somewhere that points to the site-packages directory?

This question has already been answered. Start a new discussion instead.