-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R-Package Install #2995
Comments
Hi @masaru-tsuruta , thanks for the report and all the information on your environment! Have you tried going into Windows Explorer and manually removing
Our Visual Studio setup is not tested on every build yet (we are working on it! #2936 (comment)), so there might be some problems. If deleting that directory doesn't work, could you please try this:
|
Hi @jameslamb , thanks for your reply. I have already tried to remove I have also tried to install LGBM using mingw with below PATH environment variables. However, the below error is occurred
From instruction site, if we use mingw, then the performance of LGBM is not efficient. Is this fiexed?
|
Hi @jameslamb , |
Woo! Ok that is progress, I'm glad it at least works with mingw. Could you try the version from #2963?
I hope that that will fix your issue, and if it does then we'll get it reviewed and merged as fast as possible. |
but it is concerning that you had to downgrade CMake 😬 |
Thanks, some hope is in sight. I have tried to run the below command. |
ah! A mistake in my code snippet, sorry. You need to clone from my fork since the PR is still in progress.
|
I appreciate your quick response.
Then, I run the new comman. However, the bellow error occurred again ... 😢
|
haha GAH I missed yet another line in the code I wrote in this issue. I bet if you run You need to Ok so, for those arriving at this issue in the future, it is:
Thanks for your patience |
Thanks, for your continued support!! I have tried to run new command.
|
Ok I got out my Windows laptop and looked into this. Think I found the issue! Basically the If you are still on branch
and then retry installation It just worked for me with these specs on my laptop:
|
It works well. Installation has been completed! |
Great, thanks for the help! We'll try to get it merged soon so you don't have to rely on my fork. |
Hi everyone, I'm using Windows 10, RStudio 3.6.3 and I'm trying to install "lightgbm" package in R. I have tried everything I guess but I can not install it. Does it work on RStudio and how can I install it successfully? Thank you so much. |
@mgzde thank you for using The official documentation for how to install the R pckage is at https://github.com/microsoft/LightGBM/blob/master/R-package/README.md If the steps there do not work for you, please open a new issue by clicking "New Issue" at https://github.com/microsoft/LightGBM/issues and tell us what you are experiencing. We will do our best to help you get it working. In the future, please do not post the same question in multiple issues here (#2997 (comment)). That fragments the conversation and will make it harder for maintainers to help you. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Hi, I have tried to install LightGBM R-package.
I have prepared below software and OS:
Windows10 / R3.6.3 / Rtools3.5 / VS Build Tools 2019 / CMake3.17.1
Additionally, I have set the below directory to PATH.
Then, I have tried to run the below commands in CMD using VS tool:
git clone --recursive https://github.com/microsoft/LightGBM
cd LightGBM
Rscript build_r.R
However, the below error has occurred. Could you please advise me?
The text was updated successfully, but these errors were encountered: