我正在尝试在我的系统上执行brew命令。但它一直在犯同样的错误:
Failure while executing: /usr/bin/otool -L /usr/bin/install_name_tool
The configuration of the brew installed are :
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: ef01d1d92e8f57da8f75d3fb70c934f29ef875d8
Last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.10.5-x86_64
Xcode: 7.1
CLT: 7.1.0.0.1.1444952191
clang: error: unable to find utility "clang", not a developer tool or in PATH
Clang: N/A
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: N/A
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_65
我也有类似的错误,因为我忽略了接受Xcode许可协议。不知道你是否有同样的问题。您可以运行下面的命令接受它,然后重试您的
brew
命令:在一些网站上读这个。不管您要使用哪个Python版本来开发
Mac OSX
。它还应该有一个预先配置了系统操作系统的python2.7。最后,我从框架中删除了旧版本,并指向bash_profile
中的PATH
中的最新版本。在所以为了解决这个问题,你需要确保你的
Python Ver 2.7
在你的Frameworks
中是可用的。Do Not Delete It.
相关问题 更多 >
编程相关推荐