我在使用
brew install mongodb
安装 mongodb 时遇到问题。终端中的错误说明:
curl: (7) Couldn't connect to server
Error: Failed to download resource "mongodb"
Warning: Bottle installation failed: building from source.
==> Installing dependencies for mongodb: go, scons
==> Installing mongodb dependency: go
curl: (7) Couldn't connect to server
Error: Failed to download resource "go"
Warning: Bottle installation failed: building from source.
curl: (7) Couldn't connect to server
Trying a mirror...
curl: (7) Couldn't connect to server
Error: Failed to download resource "go"
这可能是由防火墙或不允许访问引起的(我在有关同一问题的其他回复中读到过这一点)。我使用的是 Mac OS X。
首次运行 “酿造更新”命令 然后用 sudo 运行brew install就像 须藤brew安装mongodb