How to install Yandex CatBoost on Anaconda x64?

会有一股神秘感。 提交于 2019-12-12 10:39:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!