If I simply do:
import lightgbm as lgb
I\'m getting
python script.py Traceback (most recent call last): File \"script.py\", li
Same error, different source: seems like I had the gcc 8 version installed, and it needs gcc 7.
It worked by switching it back to last gcc 7 version:
brew switch gcc 7.3.0_1