Installed python 2.5 over 2.4 and lost installed packages

Ben Kaplan bskaplan14 at yahoo.com
Sun Apr 27 15:33:57 CEST 2008


I don't know what the best practice is, but just creating sym links into site-packages will work, and it saves the extra memory from cp'ing.


----- Original Message ----
From: "james at reggieband.com" <james at reggieband.com>
To: python-list at python.org
Sent: Sunday, April 27, 2008 9:15:06 AM
Subject: Installed python 2.5 over 2.4 and lost installed packages

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.
--
http://mail.python.org/mailman/listinfo/python-list



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080427/1268c236/attachment.html>


More information about the Python-list mailing list