Saturday, January 18, 2025
HomeTechCompletely uninstall Python 3 on Mac

Completely uninstall Python 3 on Mac

To completely uninstall Python 3 on a Mac:

  1. Remove Python executables: Open Terminal and run:
    bash
    sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.*
    sudo rm -rf "/Applications/Python 3.*"
  2. Remove symbolic links:
    bash
    sudo rm /usr/local/bin/python3*
    sudo rm /usr/local/bin/pip3*
  3. Check for remaining files: Manually delete files from:
    • /Library/Frameworks/Python.framework
    • /usr/local/bin
  4. Remove configurations: Delete Python-related directories in ~/Library/, such as:
    bash
    rm -rf ~/Library/Application\ Support/pip
  5. Verify uninstallation: Run:
    bash
    python3 --version

Python 3 should now be removed.

See also  Whatsapp on a PC Without a Smart Phone?
RELATED ARTICLES
0 0 votes
Article Rating

Leave a Reply

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
- Advertisment -

Most Popular

Recent Comments

0
Would love your thoughts, please comment.x
()
x