Problem: {After installing for first time the code ran. Then I closed and re-opened spyder and I got this error:
```from catboost import CatBoostRegressor
Traceback (most recent call last):
File "
from catboost import CatBoostRegressor
File "C:\Users\gkourogiorgas\Documents\MEGAsync\Demand Forecasting\catboost.py", line 33, in
from catboost import CatBoostRegressor
ImportError: cannot import name 'CatBoostRegressor'```}
catboost version: {0.9.1.1}
Operating System: {Win10 64bit}
CPU: {i7}
Never mind. The error was that I named the code file catboost.py and it was conflicting with the import statement
Never mind. The error was that I named the code file catboost.py and it was conflicting with the import statement
Got the same issue, catboost.py caused the problem.
Most helpful comment
Never mind. The error was that I named the code file catboost.py and it was conflicting with the import statement