On Apr 27, 8:15 am, [EMAIL PROTECTED] wrote: > Hi all, > > I recently updated os x from python 2.4 to 2.5 (from python.org) and > in doing so I lost my old python path entries. Python 2.4 was > installed using fink. Now when I do: > > import sys > print sys.path > > my old site-packages directory is not within it (the 2.4 one). > > So what is the right thing to do in this situation? It would be a > pain to find and re-install each of the packages. Is it ok to add my > old site-packages directory to the sys.path? What is the best way to > do so (e.g. using .pth files or PYTHONPATH or other)? Is cp'ing the > files from one place to another safe or advisable? > > Any help on best practices appreciated. > > James.
As long as the Python extensions or packages are pure ones, then copying them over shouldn't hurt anything. If you have some that have C/C++ links (such as PIL or pywin32), then you'll need to reinstall those manually. Mike -- http://mail.python.org/mailman/listinfo/python-list