I have zsh and Python 3.9 installed on my MacOS but whenever I try to try something in the command line, I'm getting this kind of error:
brew install python@3.7 # for example
Error: [email protected]: the bottle needs the Apple Command Line Tools to be installed.
Help would be appreciated.
CodePudding user response:
Running this solved the problem for me:
xcode-select --install
CodePudding user response:
try to delete CommandLineTools: rm -rf /Library/Developer/CommandLineTools and reinstall it: $ xcode-select --install
I found this solution on github , Credit: Dmitry Chupahin