- Remove the Binary:
bash
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.x
sudo rm -rf "/Applications/Python 3.x"
- Remove Symbolic Links:
bash
sudo rm /usr/local/bin/python3
sudo rm /usr/local/bin/pip3
- Clean Up Cache and Config:
bash
rm -rf ~/.local/lib/python3.x
rm -rf ~/Library/Caches/org.python.Python
This removes Python 3 and its associated files. Be cautious to avoid affecting the system’s default Python.