cannot import name 'CatBoostRegressor'

3.4k views Asked by At

I successfully installed catboost using pip install, but when i import the catboostregressor in my code it is throwing below error:

from catboost import CatBoostRegressor

ImportError: cannot import name 'CatBoostRegressor'

Any ideas?

1

There are 1 answers

0
Parthiban On

Issue is with the file name catboost.py

After renaming the file name. Issue is solved.