如何运行/安装以下内容:https://github.com/kevmoo/kbuild
我安装了依赖项并尝试执行bin/kbuild脚本,但是它给了我这个错误:
Traceback (most recent call last):
File "kbuild/bin/kbuild", line 12, in <module>
BREW_PREFIX = subprocess.check_output(['brew', '--prefix']).strip()
File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
raise child_exception OSError: [Errno 2] No such file or directory我的猜测是,这个工具是为OSX和家庭酿造,这就是为什么它是窒息。我只是不确定基于极简主义的安装说明。
发布于 2013-08-08 03:26:36
第12行:BREW_PREFIX = subprocess.check_output(['brew', '--prefix']).strip()显式地试图在shell中运行“brew”,所以是的,我认为它只是为OSX编写的。
我建议您在GitHub上等待您的问题得到解答,或者自己尝试修改它。看来brew只是用于检查可用的编译器。
https://stackoverflow.com/questions/18117296
复制相似问题