Win10+python3.5环境安装xgboost(2017最新版)
来源:互联网 发布:柠檬网络电视tv免费版 编辑:程序博客网 时间:2024/06/05 20:57
1.下载cmake: https://cmake.org/download/
2.将cmake文件夹下的bin文件夹路径加入到环境变量Path中。
3.打开gitbash,进入你想安装的文件夹,运行如下命令clone xgboost文件夹: https://github.com/dmlc/xgboost
git clone --recursive https://github.com/dmlc/xgboost
4.在git bash中进入xgboost文件夹,运行如下命令,我是visual studio2015,若是其他的版本,可以换一个generator,运行cmake -G可以得到提示,注意:这里大小写敏感,别打错了。
cmake -G "Visual Studio 14 2015 Win64"
5.这下在xgboost下面终于有了xgboost.sln文件,用visual studio打开,选择release x64,重新生成解决方案。
6.在命令行中cd到xgboost下的python-package,运行如下命令:
python setup.py install
大功告成,尝试在python中运行import xgboost as xgb。
凑了好久才搞清楚步骤,点个赞吧。
阅读全文
1 0
- Win10+python3.5环境安装xgboost(2017最新版)
- Win10 python3版本 安装XGBoost
- XGBOOST安装 Anaconda win10-64 python3
- win10+python3.6+anaconda5.0.1 xgboost安装
- win10+python3.6+anaconda5.0.1 xgboost安装
- win10下安装xgboost
- Win10安装XGboost
- 64位win10 python3.5环境安装scrapy
- Win10环境Python3.6安装Scrapy1.4(好多坑)
- window+anaconda3+python3.5下xgboost安装
- Windows7,python3安装xgboost
- win10环境下python3.4安装scrapy
- Win10 Python3.5安装PyUserInput
- win10,python3.5 安装scrapy
- win10+python3.5+tensorflow安装
- python3 最新版安装 (Linux)
- Xgboost | 在Win10中安装
- win10安装xgboost python版
- 学习是什么
- Linux&Ubuntu 使用APP安装JDK8脚本
- hdu6143
- 2017.8.18考试
- 卡特兰数的应用(二)
- Win10+python3.5环境安装xgboost(2017最新版)
- SpringMVC配置实例
- MySQL常见面试题
- 【Python3.6爬虫学习记录】(十)爬取教务处成绩并保存到Excel文件中(哈工大)
- 机器学习MATLAB函数
- hdu[6147] Pokémon GO II
- Spring学习(十)-AOP返回通知&异常通知&环形通知
- hdu 6138
- POJ 1019 Number Sequence