Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safe way to uninstall old version of python

Tags:

I want to update my Python framework on Mac and delete the old versions but I am not sure if is safe to

rm -fr /Library/Frameworks/Python.framework/Versions/2.4 - 2.5 - 2.6 -3.0 etc. 

Any suggestion?

like image 222
fabrizioM Avatar asked Oct 16 '10 21:10

fabrizioM


People also ask

Is it safe to uninstall Python?

If Python came with your operating system, removing it is not recommended. If you remove it, whatever tools were written in Python will no longer run, and some of them might be important to you. Reinstalling the whole system would then be required to fix things again.


1 Answers

Yes, it's safe.
The Mac's system python's are in /System/Library/....
.dmg's downloaded and installed from python.org are placed in /Library/....
Don't delete the /System ones, but the /Library ones are user installed, so they should be safe to delete.

like image 140
snapshoe Avatar answered Sep 24 '22 00:09

snapshoe