Error while training LightGBM Model despite codenv set up as suggested
![Cid](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar11.png)
Cid
Registered Posts: 2 ✭✭✭
Hello,
I keep having the same error while trying to train an LightGBM model "Failed to train : <class 'ModuleNotFoundError'> : No module named 'lightgbm'"
I have been looking hor help, found some previous posts about it and followed the instructions:
- I created a new codeenv
- I installed the Visual Machine Learning package in the codeenv
- I install the lightGBM plugin through the plugin page in DSS
Then I go back to my model visual training setting > Advanced > Modifying code env to select my newly created one.
And I keep having the same error.
Any help very very welcome thanks !
Best Answer
-
Hi Cid,
Make sure you have the lightgbm package included in the code environment you are selecting for training. See attached screenshot.
Grant
Answers
-
Thanks your help !