Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
I've tried everything I can to install LightGBM for R and I'm having no luck #912
What Im Working With: I installed Rtools 64 bit, Microsoft VS 2015 and 2017, I'm running R 3.4.1 and up to date Rstudio.
My computer is Windows 7.
I got lightgbm to work on my older computer by just running the install_github() method and it worked really well.
Now I cannot make any progress getting it to work and I'm frustrated.
I'll start off to say that I am not the most tech savvy when it comes to the nitty gritty basic computer functions, but I do greatly appreciate the work that you guys have done so far to improve the library and make it more accessible.
Method 1: install_github()
So, it cannot detect Visual Studio 2013, 2015, or 2017 64 bit, well that sucks.
So I guess I'll just try to manually install it.
Dang, that doesn't work
Method 3: VS 2017 Command Prompt
I tried various zips and tar.gz's that I downloaded from the 'releases' page (https://github.com/Microsoft/LightGBM/releases) and tried to install from VS Command Prompt
Maybe there's something that I'm missing, but can someone give me some pointers on what to do here?
What is the command you used for method 2?
In addition, if
I am trying to install LightGBM on RHEL6 64 bit and am falling into similar issues. I also want to download the dependent packages for LightGBM but am unable to get the dependency tree resolved.
I have tried the below methods:
Warning in untar2(tarfile, files, list, exdir, restore_times) :
Any suggestions are appreciated.
I've just recently installed LightGBM for R (version 3.4.0 Patched) on Windows 10. This is what I did and it worked for me so here goes...
I don't think you need mingw_64 for this, but it's in mine anyway so I've included it for safety.
Then, the LightGBM installation:
Then running library(lightgbm) in R ought to load it up.
Thank you Laurae and guolink for your replies and your work on this project, I actually figured out a way to get it to work. Turns out, there was a problem with my cmake path (ofcourse >:O)
This is the FULL process which should be reproducible (At least in Windows 7),
Step 1: Install cmake 64bit (https://cmake.org/download/)
Step 2: Install Visual Studio Developer Tools 2017 (or 2015??)
Step 3: Install Rtools 64bit
Step 4: Change PATH...
Step 5: Install Laurae's lgbdl library, and load the library
Step 6: Then I followed Laurae's Code
Thank you again guys for your help, I'm looking forward to using this awesome library :D
referenced this issue
Sep 30, 2017
How can I install the lightgbm for R?
I followed exactly the same steps as mentioned by BenjaminLott to install lightgbm in R (3.4.0) and getting error with DESCRIPTION file.
I have installed git. my git version is: git version 2.16.2.windows.1. I have also installed cmake version 3.11.1, visual studio 2017 (community) and Rtools 35. I have also installed lgbdl package and when I run the code in step 6 of @BenjaminLott I am getting the above error. Please help me.
hey guys i just installed lightgbm package these are the steps to reproduce :
1 - git clone --recursive https://github.com/Microsoft/LightGBM