Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why ImportError: No module named lightgbm

My OS is Ubuntu, and I've followed the official installation guide to install lightgbm. However, when I import it, this error is raised:

ImportError: No module named lightgbm

How can I solve this?

Do I also need to go to /python-package folder to run setup.py after running those linux commandlines?

like image 461
dlwlrma Avatar asked May 27 '17 03:05

dlwlrma


1 Answers

Besides running those linux command lines. I also need to go to /python-package then run 'python setup.py install'.

like image 199
dlwlrma Avatar answered Sep 30 '22 15:09

dlwlrma