问题
I'v successfully installed CatBoost via
pip install catboost
But I'v got errors, when I tried sample python script in Jupiter Notebook
import numpy as np
from catboost import CatBoostClassifier
ImportError: No module named '_catboost'
ImportError: DLL load failed: Не найден указанный модуль.
Link to CatBoost site: https://catboost.yandex/
回答1:
If you use python 3.5, pip maybe download not right version of wheel.
Instead of catboost-0.1.1.2-py3-none-win_amd64.whl
you need
catboost-0.1.1.2-cp35-none-win_amd64.whl
.
Try to reinstall catboost:
pip install catboost --no-cache-dir
回答2:
You can also try conda install -c conda-forge catboost
in a conda environment
来源:https://stackoverflow.com/questions/45165532/how-to-install-yandex-catboost-on-anaconda-x64