<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">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.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: "james@reggieband.com" <james@reggieband.com><br>To: python-list@python.org<br>Sent: Sunday, April 27, 2008 9:15:06 AM<br>Subject: Installed python 2.5 over 2.4 and lost installed packages<br><br>
Hi all,<br><br>I recently updated os x from python 2.4 to 2.5 (from <a target="_blank" href="http://python.org">python.org</a>) and<br>in doing so I lost my old python path entries. Python 2.4 was<br>installed using fink.  Now when I do:<br><br>import sys<br>print sys.path<br><br>my old site-packages directory is not within it (the 2.4 one).<br><br>So what is the right thing to do in this situation?  It would be a<br>pain to find and re-install each of the packages.  Is it ok to add my<br>old site-packages directory to the sys.path?  What is the best way to<br>do so (e.g. using .pth files or PYTHONPATH or other)?  Is cp'ing the<br>files from one place to another safe or advisable?<br><br>Any help on best practices appreciated.<br><br>James.<br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br></div></div></div><br>

      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>