xcrun: error: invalid active dev

2024-01-13  本文已影响0人  熬夜的猫头鹰

目的:mac下看下安装的python的版本

出现了如下的报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

报错截图

解决:直接在term中执行如下的命令:

xcode-select --install
命令执行
上一篇 下一篇

猜你喜欢

热点阅读