网上很多安装教程有误,或者是太老???
不如直接看官网教程
参考官网
https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst#osx
https://github.com/Microsoft/LightGBM/tree/master/python-package
LightGBM depends on OpenMP for compiling, which isn't supported by Apple Clang.
Please install gcc/g++ by using the following commands:
brew install cmake brew install gcc --withou