Safe way to uninstall old version of python
I want to update my Python framework on Mac and delete the old vers开发者_如何学Cions 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?
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.
No, it's not safe. Generally, don't mess with the Python that comes with your OS, many system tools depends on having a specific version of Python.
精彩评论