You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
LightGBM version or commit hash: 2.2.3
Error message
I was following the setup process of the gpu version of lightgbm on win10. After the setup, I can run perfectly with the test case, But the problem is I cannot import lightgbm with anaconda spyder? "No module named 'lightgbm'", could you please help me figure it out?
Thanks!!
It only has one conda environment in my system. Maybe, the problem is that I uninstall anaconda by mistake before. I used lightgbm before with an old anaconda ( it was build at C:\) . After the uninstall, I reinstall a new anaconda ( at D:\), and a new lightgbm. After that, I cannot use it anymore. But the test case works fine. So the problem maybe that the lightgbm was not installed in a right conda environment.
Many Thanks!
Yeah, that's for sure that something is wrong with your environment!
Unfortunately, I'm not familiar with Spyder, but the first thing I saw when launched it was this setting:
I'm going to close this issue because it's unrelated to LightGBM. I suppose that stackoverflow is better place to ask your question. I'm sure that gurus there know what you should do install Spyder and LightGBM in the same environment.
Feel free to ask any further questions connected to LightGBM installation process.