we might have situation when the python install in below path
Library/Frameworks/Python.framework
And we will go through the step to clean up and remove the path as well as install the brew version
First, let's uninstall previous Python versions:
rm -rf /Library/Frameworks/Python.framework
rm -rf /usr/local/bin/python3
Second, remove the previous frameworks from the $PATH variable:
it can either on
~/.bash_profile
~/.zshrc
brew install python3
Top comments (0)