Lightgbm OSError, Library not loaded

前端 未结 7 1138
抹茶落季
抹茶落季 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:27

    For users with macports, replace the beginning of the brew solution with:

    1. port install gcc7 cmake
    2. export CXX=g++-mp-7 CC=gcc-mp-7

提交回复
热议问题