[mac][pip][转载] pip 装 python-Levenshtein 失败

pip 装 python-Levenshtein

报错

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    error: command 'clang' failed with exit status 1

csdn 找到

xcrun: error: invalid active developer path (/Library/Developer/CommandLineT
更新mac os后无法运行git,gcc等命令,出现missing xcrun错误.
这是因为更新系统后会卸载xcode,重新安装后会缺失xcode的命令行工具(command line tools),所以导致部分工具无法在终端运行。解决方法为运行以下命令:
xcode-select --install
并下载xcode命令行工具即可。
————————————————
版权声明:本文为CSDN博主「wth123456」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/wth123456/article/details/82838828

猜你喜欢

转载自www.cnblogs.com/fadedlemon/p/11815281.html