0

This question already has an answer here:

I fell for the tarp. In an attempt to fix an installation issue with Python and Pygame I read something stupid online telling me to delete this file and that file to completely get rid of python on my machine so I could install it. One of the files was Library/Frameworks/Python and the other was System/Library/Frameworks/Python. Obviously when I tried to reinstall Python it wouldn't let me. So now the real dilemma. I'm even more of an idiot because I've never had any kind of backups. I don't have an external to save backups to anyways so I just never did it. Now I find myself unable to do anything with Python anymore and I can't restore from a backup because I'm stupid. So is there any way I can get python reinstalled again without completely restoring my computer and losing everything I have?

marked as duplicate by bmike Sep 16 '17 at 15:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You can reinstall the operating system without losing your personal files - you'll be given the option to import them during the install process. Boot from the install DVD (if you have it), or download from the App Store and run it from there. – MattDMo Jun 20 '13 at 16:35
  • Interesting, I just assumed a fresh install would lose all my files. Thanks for the info. – CaldwellYSR Jun 20 '13 at 16:43
  • Since 10.7 it has also been possible to reinstall OS X from the recovery partition. – Lri Jun 21 '13 at 0:53
  • 1
    Just in case anyone else comes across this question - Do not under any circumstances attempt to remove the versions of Python that ship with OSX! New versions from python.org, MacPorts, and homebrew all install in different locations, and will not interfere with the system versions. The system versions are required for key components of the operating system to run properly, so don't try to upgrade them in place (i.e., don't overwrite /usr/bin/python, for example). Anyone telling you to alter or remove the system python is either malicious or very poorly informed. – MattDMo Jun 21 '13 at 2:31
  • You should make your comment an answer so I can accept it. I just used the cmd+r upon logging in and reinstalled Lion. Granted it took all day to fix but it works now. – CaldwellYSR Jun 21 '13 at 4:41

Browse other questions tagged .