pip安装在完成后失败

时间:2014-09-24 05:08:22

标签: python pip

每当我尝试运行此命令来安装pip时,

sudo pip install mitmproxy

一旦完成,它就会给我这些错误:

Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/cryptography

Storing debug log for failure in /Users/skylerspaeth/Library/Logs/pip.log

有没有人有任何建议?谢谢!

1 个答案:

答案 0 :(得分:0)

从您发布的日志中

unable to execute llvm-gcc-4.2: No such file or directory

您需要安装XCode,gcc等来构建此库。请参阅此相关问题:

Why am I getting the error: command 'llvm-gcc-4.2' failed with exit status 1