473,394 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 1230
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: chewie54 | last post by:
Hi All, Does anyone know what version of Python and wxPython comes with the new Mac OS X Leopard? Thanks
2
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
I just installed Leopard on my Mac. I already was using Python 2.5. I can run a Python script from a terminal window by typing "python script.py" as one would expect ... but not using the Python...
8
by: dirkheld | last post by:
Hi, I upgraded my system from tiger to leopard. With leopard came a new version of python 2.5 Now I trying to run some python code that previously worked on tiger (which included an older...
1
by: Steve Ametjan | last post by:
I've been trying to get MySQL-python to install on Leopard for the past couple of days, and I keep running into relatively the same error. I'm hoping that someone on this list will be able to...
2
by: Stephen_B | last post by:
I've installed the latest 2.5 python today from python.org, and I think it ended up in "/Applications/MacPython 2.5". I also have a "/Applications/MacPython 2.4" and a "/Applications/...
4
by: Con | last post by:
Hi, how does properly install the Python MySQL db module for Mac OS X? I was only able to locate the Win32 modules. Thanks in advance, -Conrad
0
by: Anand Patil | last post by:
Hi all, I'm getting error messages like distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure on Leopard using system Python...
4
by: tkpmep | last post by:
I've just bought an iMac (OS X 10.5.2, will almost immediately jump to 10.5.3), and am looking to install Python on it, and to use it with XCode, Apple's IDE. Some googling suggests that a number...
0
by: Sean DiZazzo | last post by:
Question 1: How can I locate the Python installation? There a few find / -name "site-packages" Will lead you to where SciPy and Numpy should be installed for each Python installation. You can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.