Saturday, January 4, 2025
HomeTechCompletely Uninstall Python 3 on Mac

Completely Uninstall Python 3 on Mac

  1. Remove the Binary:
    bash
    sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.x
    sudo rm -rf "/Applications/Python 3.x"
  2. Remove Symbolic Links:
    bash
    sudo rm /usr/local/bin/python3
    sudo rm /usr/local/bin/pip3
  3. 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.

See also  Advantages and Disadvantages of Technology

RELATED ARTICLES

Leave a Reply

- Advertisment -

Most Popular

Recent Comments