关闭

ubuntu安装xgboost

71人阅读 评论(0) 收藏 举报
分类:

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

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:32515次
    • 积分:555
    • 等级:
    • 排名:千里之外
    • 原创:23篇
    • 转载:12篇
    • 译文:0篇
    • 评论:0条
    文章分类