IT常识
技术 Python PHP JavaScript IOS Android Java 数据库 资源 公众号 代码片段 github
  • IT常识
  • web服务器

Ubuntu16.04安装xgboost

Posted 2020-09-22 tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu16.04安装xgboost相关的知识,希望对你有一定的参考价值。

1.Python下安装方法

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
ake -j4
cd python-package/
sudo python setup.py install

如果在import xgboost后,遇到问题

OSError: /home/common/anaconda2/lib/python2.7/site-packages/scipy/sparse/../../../../libstdc++.so.6: version `GLIBCXX_3.4.20‘ not found (required by /home/common/coding/coding/Scala/xgboost/python-package/xgboost/../../lib/libxgboost.so)

解决方法

conda install libgcc

 

以上是关于Ubuntu16.04安装xgboost的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu16.04上用源代码安装ICE

ubuntu 18 安装xgboost GPU版本

phpmyadmin 页面显示源代码,安装了 Vagrant 和 Puphpet 的 Ubuntu 16.04

在Ubuntu 16.04上编译OpenJDK8的源代码

Ubuntu18.04 安装xgboost GPU版配置

Ubuntu18.04 安装xgboost GPU版配置

(c)2006-2024 SYSTEM All Rights Reserved IT常识