红联Linux门户
Linux帮助

ubuntu安装xgboost

发布时间:2016-08-31 15:27:19来源:linux网站作者:use_my_heart
终端下运行:sudo pip install xgboost
有时不是sudo用户,提示错误,并且卡住不运行。
 
The directory '/home/jiyuan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/jiyuan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
 
直接用:pip install xgboost 可以成功,(也不知道为什么?)
 
更新安装包:以pip为例,pip install --upgrade pip
就算原来没有的包,也可以pip install --upgrade gensim
 
本文永久更新地址:http://www.linuxdiyf.com/linux/23780.html