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 upI've tried everything I can to install LightGBM for R and I'm having no luck #912
Comments
This comment has been minimized.
This comment has been minimized.
will it fail if you install python package from source? |
This comment has been minimized.
This comment has been minimized.
What is the command you used for method 2? In addition, if |
This comment has been minimized.
This comment has been minimized.
sp-expl-R
commented
Sep 14, 2017
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. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
CharlieKirkwood
commented
Sep 14, 2017
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... Prerequisites:
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. |
This comment has been minimized.
This comment has been minimized.
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
and get this sweet sweet message Thank you again guys for your help, I'm looking forward to using this awesome library :D |
This comment has been minimized.
This comment has been minimized.
sp-expl-R
commented
Sep 14, 2017
Any suggestions for 64 bit Linux Users, either using DEVTOOLS or extracting from source. |
BenjaminLott
closed this
Sep 14, 2017
Laurae2
referenced this issue
Sep 30, 2017
Merged
Visual installation example for R-package (Windows + VS) #952
This comment has been minimized.
This comment has been minimized.
Royhuiy
commented
Oct 15, 2017
How can I install the lightgbm for R?Please give me some help |
This comment has been minimized.
This comment has been minimized.
Royhuiy
commented
Oct 18, 2017
How can I install the lightgbm for R? |
This comment has been minimized.
This comment has been minimized.
Royhuiy
commented
Oct 18, 2017
error: |
This comment has been minimized.
This comment has been minimized.
pranavpandya84
commented
Mar 18, 2018
•
I followed exactly the same steps as mentioned by BenjaminLott to install lightgbm in R (3.4.0) and getting error with DESCRIPTION file. Approach one:
Approach two:
Please help! |
This comment has been minimized.
This comment has been minimized.
@pranavpandya84 Duplicate: #1270 |
This comment has been minimized.
This comment has been minimized.
pranavpandya84
commented
Mar 18, 2018
Super! Thank you so much for the prompt response. I am able to install it successfully now. Thx. |
This comment has been minimized.
This comment has been minimized.
naveenraj96
commented
Apr 23, 2018
I'm trying to install lightGBM as specified by @BenjaminLott in R 3.4.3 and am getting the follwing error during step six |
This comment has been minimized.
This comment has been minimized.
please install git |
This comment has been minimized.
This comment has been minimized.
naveenraj96
commented
Apr 24, 2018
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. |
This comment has been minimized.
This comment has been minimized.
@naveenraj96 Git is not available from command line as shown in the error message even though you installed it. Add Git to PATH so command line interfaces can access Git commands (open another issue if you can also). |
This comment has been minimized.
This comment has been minimized.
mustaphaweather
commented
Nov 7, 2018
hey guys i just installed lightgbm package these are the steps to reproduce : 1 - git clone --recursive https://github.com/Microsoft/LightGBM |
BenjaminLott commentedSep 13, 2017
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.
Method 2:
I manually downloaded lib_lightgbm.dll before this step, and tried Laurae's lgbdl package.
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
No luck.
Maybe there's something that I'm missing, but can someone give me some pointers on what to do here?