安装Homebrew时出错:dyld:未加载库:@ rpath/libssl.1.0.0.dylib
问题描述:
我正在尝试在Mac OS(macOS Mojave版本10.14.3)上安装Homebrew
I'm trying to install Homebrew on my Mac os (macOS Mojave Version 10.14.3)
我不断收到以下错误(我在终端中看到的确切消息):
And I keep getting the following error (the exact message I see in my terminal):
dyld: Library not loaded: @rpath/libssl.1.0.0.dylib
Referenced from: /Users/[my_machine_name]/anaconda3/lib/libssh2.1.dylib
Reason: image not found
我看到很多解决方案在解决方案中都提到了一些与 brew 相关的命令,但是我试图在此处安装brew,所以还没有brew.我想知道我该怎么办?
I see a lot of solutions mentioning some brew related commands as part of their solution, but I'm trying to install brew here so I don't have brew yet. I'm wondering what I need to do?
我正在使用以下命令来安装brew:
I'm using the following command to install brew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
答
您可以通过conda环境管理器安装libssh2来解决此问题.
You can resolve the issue by installing libssh2 via conda environment manager.
conda install libssh2