Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Re-install Python

Hi,


I removed the python installation from /System/Library/Frameworks/Python.framework and the links from /usr/bin directories. The python installer from python.org install it in /Library/Frameworks/Python.framework and creates links in /usr/local/bin.


How can I reinstall the apple provided python bundle?


Thanks

Anand

Posted on Mar 30, 2012 8:03 PM

Reply
3 replies

Mar 30, 2012 8:05 PM in response to nanandn

You will have to reinstall OS X.


Reinstalling Lion Without Erasing the Drive


Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.


Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.


When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.


Reinstall Lion: Select Reinstall Lion and click on the Continue button.


Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

Re-install Python

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