Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19041 > unrolled thread
| Started by | Benjamin Kaplan <benjamin.kaplan@case.edu> |
|---|---|
| First post | 2012-01-16 11:03 -0500 |
| Last post | 2012-01-16 11:03 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Deleted System default Python on Leopard Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-01-16 11:03 -0500
| From | Benjamin Kaplan <benjamin.kaplan@case.edu> |
|---|---|
| Date | 2012-01-16 11:03 -0500 |
| Subject | Re: Deleted System default Python on Leopard |
| Message-ID | <mailman.4795.1326729853.27778.python-list@python.org> |
On Mon, Jan 16, 2012 at 7:41 AM, Francesco Zhu <franciszhu1990@hotmail.com> wrote: > Hello everyone, > > recently I've started to be try Python on my Mac OS X 10.5.8 Leopard and > I've already messed up with it... > > I was compiling a Python souce code but didn't succeed and so I decided to > install a newer version of Python. > But before that, I did a stupid thing: I deleted manually all the folders of > the Leopard's system default Python 2.5.1... > > Before when I was using the system Python, the program namebench worked > perfectly. > After that I messed everything up and installed MacPython 2.5 from the site > python.org, now namebench always crashes. > > On the problem report system of Apple it gives me these errors: > http://bpaste.net/show/21904/ > > While this is the Console: > http://bpaste.net/show/21905/ > > What problem can it be? > Can I clean up all the Pythons and restore the system one? > > Thanks everyone. > > Regards, > Francesco Zhu For compatibility reasons, a lot of programs specify the system Python: either /usr/bin/python for the executable or /System/Library/Frameworks/Python.Framework/Versions/2.5/python for the library. If they didn't and you (for example) installed 3.2 and set it as the default Python, everything would break. You could download the Apple's Python 2.5.1 from http://opensource.apple.com/source/python/python-30.1.3/, apply the patches, and attempt to put everything back the way you found it but it's probably easiest just to reinstall Leopard from the DVD. It shouldn't wipe anything but I would suggest backing up just in case.
Back to top | Article view | comp.lang.python
csiph-web