brew install mongodb => result =>卷曲:(7)无法连接到服务器

时间:2016-05-17 23:30:13

标签: mongodb curl download homebrew connect

我在使用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"

这可能(我在关于同一问题的其他回复中读到这个)是由防火墙或没有permise访问引起的。我在Mac OS X上。

1 个答案:

答案 0 :(得分:-1)

首先运行     " brew update"命令 然后用sudo运行brew install Sudo brew安装mongodb

相关问题