直接使用conda就能够安装,并且能够正常import
conda install lightgbm
LightGBM官网上写着可以直接使用brew安装,如下
brew install lightgbm
然而安装成功后,却不能在python环境中正常import,希望有明白人能解答一下
参考资料:
https://towardsdatascience.com/install-xgboost-and-lightgbm-on-apple-m1-macs-cb75180a2dda
https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#macos