Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Yandex CatBoost on Anaconda x64?

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/

like image 610
CrazyElf Avatar asked Jul 18 '17 11:07

CrazyElf


2 Answers

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

like image 125
Dmitry Donskov Avatar answered Nov 09 '22 10:11

Dmitry Donskov


You can also try conda install -c conda-forge catboost in a conda environment

like image 22
Trect Avatar answered Nov 09 '22 11:11

Trect