【问题标题】:brew install mongodb => result => curl: (7) Couldn't connect to serverbrew install mongodb => result => curl: (7) 无法连接到服务器
【发布时间】:2016-05-17 23:30:13
【问题描述】:

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


    【解决方案1】:

    首次运行 “酿造更新”命令 然后使用 sudo 运行 brew install sudo brew install mongodb

    【讨论】:

    • 不要在 Homebrew 中使用 sudo
    猜你喜欢
    • 2020-02-01
    • 1970-01-01
    • 2019-03-02
    • 2014-02-04
    • 2021-10-03
    • 2023-03-22
    • 2019-02-26
    • 2017-02-04
    相关资源
    最近更新 更多