Recovery from sudo rm -R / System / Library / Frameworks / Python.framework / Versions / 2.7

I followed this tutorial to remove old versions / symbolic links in Python, so I could use python 3.5, and this is my default version

Team:

sudo rm -R / System / Library / Frameworks / Python.framework / Versions / 2.7

seems to have broken my whole development environment. I started to experience errors homebrew, git, Xcode, sublime text 2, etc. I partially fixed it by rebooting python 2.7and runningbrew doctor && brew prune

However, I still cannot get sublime text 2 to open. I believe that I need to restore my directory /System/Library/Frameworks/Python.framework/Versions/to 2.7, but I do not know how to do this

I also ran brew install pythonas a potential solution, but that didn't work.

I am by no means an expert in the terminal, but I am trying to get better. I often follow tutorials such as a link to install new software. my questions are:

  • How can I recover from this?
  • What are some helpful tips to avoid future issues like this?
  • Where can I find out more about the important things that you need to know in the terminal, so I can become a terminal boss.
  • Should I start using home-brew for all development-related installations?
+4
source share
1 answer

. - /System . (Mac OS X 10.10 , , root.)

. .

+2

Source: https://habr.com/ru/post/1626690/


All Articles