In article <a9d9fd92-e516-4f6e-ad15-e367fb8dc...@pixane.net>,
 Idan Gazit <i...@pixane.net> wrote:

> Hi Folks,
> 
> So a while back I tried installing (mac) python 2.6 on my leopard  
> machine, mainly to poke around.
> 
> Today I'm trying out some xcode/pyobjc stuff and I've been tearing my  
> hair out wondering why nothing works as advertised. Turns out that  
> xcode was building against python 2.6, which doesn't have the relevant  
> modules in its classpath (objc, for example).
> 
> A little bit of digging later and it seems that the *only* version of  
> python listed in /Library/Frameworks/Python.framework is 2.6. Oh noes!
> 
> So my plea:
> 
> * How do I cleanly remove the 2.6 (installed using the provided  
> installer) installation such that I'm left with my leopard-vanilla 2.5?
> * What should I do about the Python.framework? I imagine that PyObjC  
> apps require at least one version there. Did 2.6 overwrite the  
> existing one? Can anybody tell me how to get it back or how to install  
> the 2.5 version?

You can safely delete /Library/Frameworks/Python.Framework
Also look in /usr/local/bin for any files whose names start with 
"python"; delete those.

The system python is in /System/Frameworks and is safe from your changes.

Note that multiple versions of user-installed python can coexist. If so 
you may want to delete something inside of 
/Library/Frameworks/Python.Framework instead, but that doesn't appear to 
be your case.

(Also if you are otherwise happy with Python 2.6 you could just use it 
to install the other packages you are missing. Personally I prefer using 
a user-installed Python for my own work, rather than cluttering up the 
system python with user-installed packages.)

-- Russell

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

Reply via email to