i recently deleted python to try and install a different version due to compatibility issues with other software. this turned out to be a bad idea and i need to restore the version of python that came with 10.4. from other forums, it seems that the only way to do this is by restoring the OS. But, my dvd drive is also messed up because dvd drives on mac laptops ALWAYS mess up for me. i should get it replaced, but i use my coputer for work so this is difficult. i tried booting as a target disc and using my os install disc from another computer, but apparently this isn't allowed.
[fuming]
is there any reasonable way to restore python without having to reinstall the os or send my computer off to get a working dvd drive (that will probably fail again in a few months just like the others)?
it pulls the DVD in and then very, very rarely recognizes it. Once or twice when I tried to use it it failed during playback. Definitely not something I want to attempt an OS restore with.
good idea! i'm having no luck with my dvd drive though. i wonder if i can get a disk image of the install disc, mount it, then try Pacifist. That's what I'll try next if can find or make a disc image.
Well, I used Pacifist to find and restore the files, but apparently Python still isn't there. In Terminal, "python" returns "command not found", and I'm unable to open a python macro in FontLab like I used to. Here are the files that I restored:
in Essentials.pkg
in /System/Library/Frameworks/
Python.framework folder
in BSD.pkg
in /usr/bin
python
python2.3
pythonw
pythonw2.3
Apparently python is actually installed now, from the command line at least, but programs that use it, specifically FontLab and Blender, can't find it. FontLab says in it's properties window that Python is not installed and Blender doesn't launch at all. Trying to launch Blender from the command line showed that it's looking for version 2.3 (I just installed 2.5).
I think the solution is to change some system PATH variable(s), but I don't know how to do that. Tips?