![](/img/trans.png)
[英]Brew upgrade not working on latest OSX High Sierra beta version
[英]Brew stopped working after upgrade (High Sierra)
升级 brew 后,我无法再安装木桶了。 它给了我一个关于 xattr 的错误:
Error: Failure while executing; `/usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"chromium\"\) /usr/local/Caskroom/chromium/869663/chromium.wrapper.sh` exited with 1. Here's the output:
File "/usr/bin/xattr", line 31
continue
TabError: inconsistent use of tabs and spaces in indentation
问题是我的 python 和 xattr 的版本,它使用 python@3 而不是 python@2。
这将暂时解决问题:
sudo ln -sf /usr/bin/xattr-2.7 $(which xattr)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.