Python on Leopard issues

Diez B. Roggisch deets at nospam.web.de
Thu Nov 8 16:24:49 EST 2007


Chris schrieb:
> Are others having fundamental issues on OSX 10.5 with python 2.5.1? I was 
> excited that Python 2.5 was included, but this excitement was very short 
> lived. Almost nothing works. Upon startup I get this message:
> 
> 'import site' failed; use -v for traceback
> 
> and sure enough, all of the built-in packages are non-existent. I'm not sure 
> why Apple bothered including an improperly-configured version. Does
>  anyone have an easy fix for this, or should I go to ActiveState and install a 
> version that works?

While Apple is far from being perfect, I strongly doubt that they ship a 
python as damaged as this - after all, they rely for some system stuff 
on the shipped interpreter.

But I bet you didn't install leopard fresh, but upgraded? And did you by 
any chance have a python 2.5 installed before?

Anyway, without much more information (where is the python framework 
located and so forth) there is no chance of being more helpful.

Diez



More information about the Python-list mailing list