472,131 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,131 software developers and data experts.

Python on Leopard issues

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?

Thanks.

Nov 8 '07 #1
1 1168
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
Nov 8 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by =?iso-8859-1?B?QW5kcuk=?= | last post: by
1 post views Thread by Steve Ametjan | last post: by
2 posts views Thread by Stephen_B | last post: by
4 posts views Thread by Con | last post: by
4 posts views Thread by tkpmep | last post: by
reply views Thread by Sean DiZazzo | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.