有没有人想过如何使XGboost与苹果M1?协同工作
我尝试过多种方法来修复它,但它不起作用。
我试过重新安装它;pip和pip3以及python -m pip和conda安装;brew安装limpomp;brew安装gcc@8;下载源代码并在本地编译。
XGboost似乎不适用于苹果M1。
这里是错误,当我在我的脚本:中导入xgboost时会发生这种情况
XGBoostError: XGBoost Library (libxgboost.dylib) could not be loaded.
Likely causes:
* OpenMP runtime is not installed
安装xgboost库很痛苦,但现在Windows8.1 64位上发生了另一个错误
import xgboost as xgb
Traceback (most recent call last):
File "C:/Users/Пашка/PycharmProjects/kaggler bank santander/1.py", line 12, in <module>
import xgboost as xgb
File "C:\Python34\lib\site-packages\xgboost-0.4-py3.4.egg\xgboost
您好,在尝试时遇到以下错误
`install.packages("xgboost")`
错误消息:
`In file included from amalgamation/xgboost-all0.cc:68:0:
amalgamation/../src/learner.cc: In member function ‘virtual void
xgboost::LearnerImpl::SaveModel(xgboost::Json*) const’:
amalgamation/../src/learner.cc:378:24: error: invalid i
当我尝试使用以下命令conda install -c aterrel xgboost=0.4.0安装conda时,出现错误
UnsatisfiableError: The following specifications were found to be in conflict:
- python 3.5*
- xgboost 0.4.0*
Use "conda info <package>" to see the dependencies for each package.
conda info xbgoost给我的命令
NoPackagesFoundEr
目前,我已经从cran安装了xgboost软件包,最新版本为0.9。
。
试过:
devtools::install_github("dmlc/xgboost")
Downloading GitHub repo dmlc/xgboost@master
Error: Failed to install 'xgboost' from GitHub:
Does not appear to be an R package (no DESCRIPTION)
然后,我发现与其他人进行了讨论,他们正在努力安装xgboost。在该页面上是对上的zip文件的引用。
因此,我尝
当我想在cenos7 (也就是wsl2)中从cran安装xgboost时,我得到了这个错误,并且我无法通过谷歌找到任何线索,这条消息是: In file included from amalgamation/xgboost-all0.cc:68:0:
amalgamation/../src/learner.cc: In member function ‘virtual void xgboost::LearnerImpl::SaveModel(xgboost::Json*) const ’:
amalgamation/../src/learner.cc:378:24: error: inval
我使用的是GCC 4.4.7,如下所示:
gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
在RHEL机器上:
uname -a
L
因此,我一直在遵循的说明,但我似乎找不出为什么R无法正确安装XGBoost。我在R控制台中运行了相应的命令,但仍然得到:
./dmlc-core/include/dmlc/omp.h:13:9: warning: Warning: OpenMP is not available, project will be compiled into single-thread code. Use OpenMP-enabled compiler to get benefit of multi-threading. [-W#pragma-messages]
我在R控制台中运行的命令是:
install.p