Mac安装lightgbm命令
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install cmake
brew install gcc --without-multilib
git clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBM
mkdir build ; cd build
cmake ..
make -j4
cd ../python-package
sudo python setup.py install
pip install lightgbm
在进行到sudo python setup,py install时报错
Traceback (most recent call last):
File "setup.py", line 299, in <module>
'Topic :: Scientific/Engineering :: Artificial Intelligence'])
File "/Users/hely/anaconda/envs/python36/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/Users/hely/anaconda/envs/python36/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/hely/anaconda/envs/python36/lib/python3.6/distutils