在 python 2.7、windows 7 中安装 Xgboost
Installing Xgboost in python 2.7, windows 7
我在将 xgboost 安装到 windows 7、python 2.7 时遇到问题。
我试过了 运行
git clone https://github.com/dmlc/xgboost.git
cd xgboost; make; cd wrapper; python.py setup install --user
第一行工作正常但第二行不行。它说它找不到指定的路径,这是真的,因为 cd wrapper 不在 make 文件夹中。谁能告诉我我在这里缺少什么?谢谢
在第一行添加 --recursive
选项。
The newest version of xgboost uses submodule to maintain packages. So when you clone the repo, remember to use the recursive option.
所以会变成git clone --recursive https://github.com/dmlc/xgboost
.
按照此 Tutorial 在 Windows 中安装 XGBoost。但是在查看 XGBoost 存储库时。执行 git checkout 9a48a40
的附加步骤,然后按照该教程的所有步骤进行操作。
如果您的 windows 机器上有以下三个软件,安装 xgboost 将是小菜一碟。
A Python installation such as Anaconda
Git
MINGW
使用下面的 link 进行分步方法。
我用了不超过 10 分钟的时间在 windows 机器上用 python 配置 xgboost。
使用相同的配置 (Anaconda Python 2.7 - Win 7 - Git - Mingw64) 走蛋糕变成了噩梦。
我终于通过使用Guido Tapias
中的预编译文件成功了
我在将 xgboost 安装到 windows 7、python 2.7 时遇到问题。 我试过了 运行
git clone https://github.com/dmlc/xgboost.git
cd xgboost; make; cd wrapper; python.py setup install --user
第一行工作正常但第二行不行。它说它找不到指定的路径,这是真的,因为 cd wrapper 不在 make 文件夹中。谁能告诉我我在这里缺少什么?谢谢
在第一行添加 --recursive
选项。
The newest version of xgboost uses submodule to maintain packages. So when you clone the repo, remember to use the recursive option.
所以会变成git clone --recursive https://github.com/dmlc/xgboost
.
按照此 Tutorial 在 Windows 中安装 XGBoost。但是在查看 XGBoost 存储库时。执行 git checkout 9a48a40
的附加步骤,然后按照该教程的所有步骤进行操作。
如果您的 windows 机器上有以下三个软件,安装 xgboost 将是小菜一碟。
A Python installation such as Anaconda
Git
MINGW
使用下面的 link 进行分步方法。
我用了不超过 10 分钟的时间在 windows 机器上用 python 配置 xgboost。
使用相同的配置 (Anaconda Python 2.7 - Win 7 - Git - Mingw64) 走蛋糕变成了噩梦。
我终于通过使用Guido Tapias
中的预编译文件成功了