Can anyone tell me the step-by-step process to install shogun on mac os. I have tried macports, brew install. Seems like nothing is working out.
有人能告诉我在mac操作系统上安装幕府的步骤吗?我已经尝试过macports、BREW安装。似乎什么事都没有解决。
Have installed shogun using macports succesfully, but not able to import in python. Can anyone please tell me what is going wrong.
我已经成功地安装了使用macport的幕府将军,但不能在python中导入。有人能告诉我出了什么问题吗?
更多回答
优秀答案推荐
updated:
更新:
in order to install the latest shogun, simply do:
要安装最新的幕府将军,只需执行以下操作:
brew install shogun
original answer:
最初的答案是:
I'm developing shogun on OSX. Currently 4.1.0 is part of brew. I'm working on getting release 6.0.0 into brew, but in the meanwhile if you want to use the latest version you'll need to compile it on your own.
我正在OSX上开发幕府将军。目前4.1.0是BREW的一部分。我正在努力使6.0.0版进入BREW,但与此同时,如果您想使用最新版本,您需要自己编译它。
For the dependencies of the library simply run
brew deps shogun
install those packages as well as
cmake. for the actual compilation follow the manual at
http://shogun.ml/install#manual`
安装这些包以及cmake。有关实际编译的信息,请参阅http://shogun.ml/install#manual`上的手册
As of 10th September, 2023, brew install shogun
does not work - the package is no longer present. port install shogun
is unable to generate the necessary dependencies and is an old version anyway (2.1.0_24). port install shogun_devel
installs version 4.0.0_21, but again fails dependencies.
从2023年9月10日起,BREW安装幕府不起作用-该程序包不再存在。端口安装幕府无法生成必要的依赖项,并且无论如何都是旧版本(2.1.0_24)。端口安装shogun_devel将安装版本4.0.0_21,但再次失败依赖项。
One remaining option is to install version 6.1.4 manually from source:
https://github.com/shogun-toolbox/shogun/blob/develop/doc/readme/INSTALL.md#manual-requirements
剩下的一种选择是从源手动安装6.1.4版:https://github.com/shogun-toolbox/shogun/blob/develop/doc/readme/INSTALL.md#manual-requirements
更多回答
i have used brew to install shogun. but not able to import shogun as modshogun. I am a beginner, please help me in what i need to do make this work once the install is done.
我已经使用BREW安装了幕府。但不能将幕府作为modshogun导入。我是一个初学者,请在我需要做什么,使这项工作一旦安装完成,请帮助我。
我是一名优秀的程序员,十分优秀!