1、先intsall anaconda 到清华镜像 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
bash Ana......
安装完后无法出现jupyter notebook
解决办法:在bashrc中将默认浏览器设为相应浏览器.
打开bashrc:
- sudo gedit /home/.bashrc
然后在bashrc最后一行添加:
- export BROWSER=google-chrome
2、安装xgboost
conda install libgcc
pip install xgboost
3、安装lightgbm
pip install lightgbm
原文地址:https://www.cnblogs.com/code666/p/8309116.html
时间: 2024-11-07 00:29:05