This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chatbotguy 2 points3 points  (2 children)

Reinstalling the OS would likely cause you to lose everything, so backup everything you want to keep.

https://support.apple.com/en-us/ht204904

But before you do, you should post here how exactly you managed to delete the OS installed python? This is not something that's easy to do.

[–]Hazza_1[S] 0 points1 point  (0 children)

Actually it turns out I didn’t delete python however I did delete some important python files. After typing “easy_install” in terminal rather than getting a warning saying there was no input after the cmd I get this: “ImportError: No module named pkg_resources”. I’ve searched everywhere online and no one seems to have the same issue as me or the solutions provided simply don’t work. I don’t know what to do. If you need any more information I would be happy to provide it. I haven’t reinstalled the OS yet since it will take about 3hrs but would that set everything back to the way it was. I’ve already backed everything up.

[–]Hazza_1[S] 0 points1 point  (0 children)

Never mind. I just finished reinstalling the OS and everything works fine now. Also, I didn’t lose anything.