美文网首页
xcrun: error: invalid active dev

xcrun: error: invalid active dev

作者: 熬夜的猫头鹰 | 来源:发表于2024-01-13 20:29 被阅读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
命令执行

相关文章

网友评论

      本文标题:xcrun: error: invalid active dev

      本文链接:https://www.haomeiwen.com/subject/smcqodtx.html