Repair Python framework

Hello,

I've been scouring these boards for a way to repair my Leopard installation. In my zeal while trying to install SciPy / Numpy, etc. and update to the latest version of Python, I deleted some key components to the Python framework. I was so frustrated by the 2, 3, 4 Python installs that I deleted them all and started from scratch ... not a good call, in hindsight.

Currently, my Leopard install has

/Library/Frameworks/Python.Framework/Versions/{2.3, 2.5, Current}
/System/Library/Frameworks/Python.Framework/Versions/2.5

However, I'm missing the 2.3 version in the /System/Library/Frameworks/Python.Framework/Versions/2.5, and a significant number of the extra libraries that come installed by default with Leopard (numpy, wx, etc.)

I'm hoping to find a method for re-installing the Python framework from the Leopard install disk to get it back to its original form with "minimal invasiveness". Is there any hope for me? =)

Thanks, Brian

MBP 2.2 GHz, Mac OS X (10.5.3), 4 GB memory, 200 GB / 7200 HD

Posted on Jun 17, 2008 10:24 AM

Reply
5 replies

Jun 17, 2008 11:13 AM in response to firedancer414

firedancer414 wrote:
Solved -- I was able to take a friend's MBP, same generation, and copy over the /System/Library/Framework/Python.Framework over to my machine. I
"chown -R root:wheel /System/Library/Framework/Python.Framework", and everything seems to be back in order.

But there's a definite moral here, don't mess with the frameworks =)

Or use a sandbox such as the one in SuperDuper before attempting these kinds of stunts, in the future 🙂
Good work.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Repair Python framework

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.