windows7下anaconda安装light-GBM
1.先下载light_gbm到桌面:从https://pypi.org/project/lightgbm/#files下载.whl文件
如:lightgbm-2.1.1-py2.py3-none-win_amd64.whl)
2.打开anaconda prompt,输入命令:pip install 路径\lightgbm-2.1.1-py2.py3-none-win_amd64.whl
如:pip install C:\Users\jason\Desktop\lightgbm-2.1.1-py2.py3-none-win_amd64.whl
3.等待安装完,在jupyter notebook中输入:import lightgbm as lgb。没有错误提示,说明安装成功。
windows7 下anaconda安装light-GBM
最新推荐文章于 2024-09-13 21:49:05 发布