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 best solutions below

0
On

Issue is with the file name catboost.py

After renaming the file name. Issue is solved.