Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install lightgbm on windows

I use pip to install lightgbm on windows,Does it work?

Since I have an error while importing LGBMRegressor. The error shows as below

"cannot import name 'LGBMRegressor'"
like image 980
Zhixin Zhang Avatar asked Dec 07 '22 17:12

Zhixin Zhang


1 Answers

I tried installing it using an anaconda environment and was able to install it successfully.

Open Anaconda prompt and type:

conda install -c conda-forge lightgbm

It will take a few minutes for installation.

like image 126
saurabh kumar Avatar answered Dec 10 '22 05:12

saurabh kumar