无法从自制软件安装 hdf5 库

Unable to install hdf5 library from homebrew

我正在尝试从 Homebrew 安装 hdf5 库。 运行 brew install hdf5 在终端returns 出现如下错误信息:

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "hdf5".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

我 运行 在 mac 上使用 Mojave 版本 10.14.6。我应该尝试下载 hdf5 库的后续步骤是什么?

看来我的 Homebrew 下载至少有一部分是在错误的位置。 运行brew doctor,我得到了Warning: Homebrew/homebrew-core was not tapped properly!。这是由 运行 rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"brew tap homebrew/core.

修复的