Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using R studio, Now i want to install LightGBM for window. I have Installed Git for Window, CMAKE and MINGW64. The path of GIT is

C:\Program Files\Git\bin
and the path of CMAKE is

C:\Users\MuhammadMaqsood\Downloads\cmake-3.13.3-win64-x64\bin

I have set C:\Users\MuhammadMaqsood\Downloads\cmake-3.13.3-win64-x64\bin as path for both user variable and system variable

I have run the following command for the installation of LightGbm

git clone --recursive https://github.com/Microsoft/LightGBM

cd LightGBM

mkdir build

cd build

cmake -G "MinGW Makefiles" -DUSE_OPENMP=OFF ..

mingw32-make.exe -j4

Now i have to face some two types of error.

When i set C:\Program Files\Git\bin as path for user variable and system variable then i show this error that cmake command not found.

2.when i set C:\Users\MuhammadMaqsood\Downloads\cmake-3.13.3-win64-x64\bin as path for user variable and system variable then i show this error that sh.exe found in your path even i have been delete sh.exe.

I am trying this about one month if any one has any information about this then answer me


What I have tried:

I have tried various method but this problem is not solve for me.
Posted
Comments
Richard MacCutchan 23-Feb-19 7:58am    
find the location of the missing files, and ensure that all paths are added to your environment PATH variable when you try to run the make.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900