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

 

相关文章:

  • 2021-08-26
  • 2022-01-19
  • 2021-09-19
  • 2021-04-15
  • 2021-12-03
  • 2022-12-23
  • 2021-11-04
  • 2021-08-30
猜你喜欢
  • 2023-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-09-25
  • 2021-11-05
  • 2022-12-23
相关资源
相似解决方案