求看我安装lightgbm库时出现的错误,安不上啊

img

img
这个样子,看一手
去官网下载的wel也安装不上说我平台不对什么的

你看看https://pypi.org/project/lightgbm/
这里要求安装For Windows users, VC runtime is needed if Visual Studio (2015 or newer) is not installed,,最好安装一下新版本的Visual Studio

建议在安装之前看一下这里关于安装的详细说明: https://github.com/microsoft/LightGBM/tree/master/python-package, 需要visual studio,cmake, 或minGW64等编译支持。可尝试从git上安装,git clone --recursive https://github.com/microsoft/LightGBM.git, cd LightGBM/python-package,python setup.py install,如果选用MinGW-w64作为编译器的话,就写成python setup.py install --mingw

下个平台对应的Twisted文件就行了