473,287 Members | 1,616 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,287 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 1224
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.