ubuntu安装xgboost

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

阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/use_my_heart/article/details/52383467
个人分类: Python
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

ubuntu安装xgboost

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭