[英]Brew + suite-sparse421
I have installed brew
on OSX and I have installed successfully several things. 我已经在OSX上安装了
brew
,并且已经成功安装了几件东西。
However when I try to install suite-sparse421
(hard constraint on the version): 但是,当我尝试安装
suite-sparse421
(对版本的严格限制)时:
brew tap homebrew/versions
brew install suite-sparse421
I get the following error: 我收到以下错误:
Error: No available formula with the name "suite-sparse421"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
Running brew doctor
shows no problem ( Your system is ready to brew.
) 运行
brew doctor
没有问题( Your system is ready to brew.
)
Running brew update
shows no problem ( Already up-to-date.
) 运行
brew update
显示没有问题( Already up-to-date.
)
Any idea? 任何想法?
Have a look at this 看看这个
https://github.com/Homebrew/homebrew-science/blob/master/suite-sparse.rb https://github.com/Homebrew/homebrew-science/blob/master/suite-sparse.rb
Homebrew-science/suite-sparse.rb has updated it url to download the 4.5.3 package, " http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.5.3.tar.gz " Homebrew-science / suite-sparse.rb已将其网址更新为下载4.5.3软件包,“ http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.5.3.tar.gz ”
If you want a specific version , why not download and build on your own. 如果需要特定版本,为什么不下载并自行构建。 The commands to build are pretty self explanatory there in the rb script.
在rb脚本中,要构建的命令非常容易解释。
As you can see in the error message there's no formula named suite-sparse421
. 正如您在错误消息中看到的那样,没有一个名为
suite-sparse421
公式。 There's nothing wrong with your Homebrew installation; 您的Homebrew安装没有问题。 it just doesn't exist.
它只是不存在。 See this other SO answer on how to install a previous version of a formula.
有关如何安装公式的早期版本,请参见此其他答案 。
In addition to the previous right answers, the formula suite-sparse421
was removed . 除了先前的正确答案之外,公式
suite-sparse421
也已删除 。 And all archived versions of SuiteSparse are listed on the official website . 而且SuiteSparse的所有存档版本都在官方网站上列出。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.