Lightgbm OSError, Library not loaded

前端 未结 7 880
抹茶落季
抹茶落季 2021-02-13 03:03

If I simply do:

import lightgbm as lgb

I\'m getting

python script.py 
Traceback (most recent call last):
File \"script.py\", li         


        
7条回答
  •  别那么骄傲
    2021-02-13 03:22

    I used this command generated from PyCharm and it worked for me.

    conda install -p { < =replace with USER_HOME_DIR>}/anaconda3 lightgbm -y

    Note : i tried Brew and pip install but they didn't work for me as Azure ML studio already downloaded other versions of LightGBM that were causing conflict in upgrading to correct packages.

提交回复
热议问题