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

The 2.5.1 interpreter is located at

The 2.5.4 interpreter is located at

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.

9 Years
Discussion Span
Last Post by pythopian

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.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.