Announcing the winners & finalists of the Dataiku Frontrunner Awards 2021! Read their inspiring stories

Error while training LightGBM Model despite codenv set up as suggested

Solved!
Cid
Level 1
Error while training LightGBM Model despite codenv set up as suggested

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 !

0 Kudos
1 Solution
GCase
Dataiker
Dataiker

Hi Cid,

Make sure you have the lightgbm package included in the code environment you are selecting for training. See attached screenshot.

Grant

View solution in original post

0 Kudos
2 Replies
GCase
Dataiker
Dataiker

Hi Cid,

Make sure you have the lightgbm package included in the code environment you are selecting for training. See attached screenshot.

Grant

View solution in original post

0 Kudos
Cid
Level 1
Author

Thanks your help ! 

0 Kudos
A banner prompting to get Dataiku DSS