Install lightgbm on windows

Zhixin Zhang picture Zhixin Zhang · Aug 17, 2017 · Viewed 11.5k times · Source

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'"

Answer

saurabh kumar picture saurabh kumar · Nov 22, 2017

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.