brew install mongodb => 结果 =>curl: (7) 无法连接到服务器

问题描述 投票:0回答:1

我在使用

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。

mongodb curl download homebrew
1个回答
-1
投票

首次运行 “酿造更新”命令 然后用 sudo 运行brew install就像 须藤brew安装mongodb

© www.soinside.com 2019 - 2024. All rights reserved.