在macOS上安装HTTPie的问题

时间:2019-09-23 12:05:38

标签: macos terminal package httpie

安装过程中的终端表明存在此类问题:

MacBook-Pro:~ synkevych$ brew install httpie
Error: The following formula
  [#<Dependency: "python" []>, #<Options: []>]
cannot be installed as binary package and must be built from source.
Install the Command Line Tools:
  xcode-select --install

如何安装?

1 个答案:

答案 0 :(得分:1)

根据错误消息,您将需要安装Xcode命令行工具(以便可以安装HTTPie依赖的Homebrew的Python 3):

  

安装命令行工具:   xcode-select --install