【发布时间】:2017-11-09 10:58:29
【问题描述】:
我通过 pip 安装了 xgboost,并试图在 Jupyter Notebook 上运行它。 但是,运行时
from xgboost import XGBClassifier
在 Python 3 jupyter notebook 上,我收到以下错误:
OSError: /home/martin/anaconda3/bin/../lib/libgomp.so.1: version GOMP_4.0' not found (required by /home/martin/anaconda3/lib/python3.6/site-packages/xgboost/./lib/libxgboost.so)
我该怎么办?
【问题讨论】:
-
更新:我得到了github.com/dmlc/xgboost/issues/1786的帮助
-
问题是,现在我收到以下错误:OSError: /home/martin/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/../.. /../../.././libstdc++.so.6:找不到版本“GLIBCXX_3.4.20”(/home/martin/anaconda3/lib/python3.6/site-packages/xgboost/./ 需要lib/libxgboost.so)
标签: python jupyter-notebook xgboost