I'm trying to build a package but would like to uninstall Python 3.7 from my machine first. The build appears to think /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/Python
exists on my machine, but it doesn't. I wonder if some process is still linked to 3.7
even when it doesn't exist. Anyone know how to property unlink/uninstall Python 3.7?
MacOS – How to property uninstall Python 3.7
macospython
Related Question
- Python no longer working, Config directory empty
- Mac – Using python screws up the shell (and/or terminal?)!
- MacOS – Force a specific version of a framework for a process
- MacOS – Difficulties with El Capitan SIP
- MacOS – os 10.11.6 pip install permission error
- Python – How to Override Default Modules with pip Installations
- How to Execute Python Script via Terminal on MacOS
- Python – How to Update Python 3 in Shell on Mac Mini M1
Best Answer
I had to do this; I used:
I pipe
stderr
to/dev/null
to eliminate internal files that even withsudo
I can't access. Things like:That returned all the possible Python 3.7 files / folders / symlinks on the machine. Armed with that, I can remove those files.
Pity that
brew
may have left something around. That does happen - I just spent 40 minutes getting VirtualBox manually deinstalled / reinstalled up to 6.01 because something in the uninstall file preventedbrew
from cleaning the existing installation up.