In article <[EMAIL PROTECTED]>,
 Louis Pecora <[EMAIL PROTECTED]> wrote:

> Yes, I tried creating the 2.4 directories, but that didn't work.  So 
> what am I to do?  Python 2.4.1 cannot find Numeric, wxPython or anything 
> in the 2.3 directories that Python 2.3 can find.  import just gives 
> Traceback errors.  Python 2.4.1 cannot find my own modules (which my 
> .pth file in ~/Library/2.3 points to).
> Am I back to messing with the .plist or $PATH or what?  I thought I had 
> this all figured out, but it seems whenever I change anything (e.g. 
> install 2.4.1) I am back to square one.
> Any help appreciated.

Pure python packages can be simply copied over (as long as they have the 
original .py source files), but all others (e.g. packages with C 
extensions or with source missing) have to be rebuilt when going from 
Python 2.3 to 2.4 or any jump of that magnitude.

Packages you will have to reinstall include numarray, Numeric, numpy and 
PIL (these all have C extensions). You can find a lot of useful prebuilt 
binaries here <http://pythonmac.org/packages/>. Also, many packages 
build with no problems from source (including Numeric, numarray 
and--last time I tried--numpy).

Regarding your own modules: if they are pure python, just put a copy of 
your .pth file in python 2.4's site packages. On my computer the path is:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pack
ages/
but if in doubt, run python 2.4, import sys and print sys.path

-- Russell

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to