目的:mac下看下安装的python的版本
出现了如下的报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

报错截图
解决:直接在term中执行如下的命令:
xcode-select --install

命令执行
目的:mac下看下安装的python的版本
出现了如下的报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决:直接在term中执行如下的命令:
xcode-select --install