I had so many Python installations that it was getting frustrating, so I decided to do a full reinstall. I removed the
/Library/Frameworks/Python.Frameworks/ folder, and meant to remove the
/usr/local/bin/python folder too, but I accidentally removed the
/usr/bin/python instead. I don’t see any difference, everything seems to be working fine for now, but I’ve read multiple articles online saying that I should never touch
/usr/bin/python as OS X uses it and things will break.
I tried Time Machine but there are no viable recovery options. How can I manually “restore” what was deleted? Do I even need to, since everything seems to be working fine for now? I haven’t restarted the Mac yet, in fear that things might break.
Edit: I believe the exact command I ran was
rm -rf /usr/bin/python*, and I don’t have anything python related in my
Edit2: I’m running on macOS Mojave 10.14.5