我的目标是学习一个笔记本电脑。它的召回率为97%,而我在“流失客户”77.9%的F1分数上挣扎。问题是笔记本使用了LightGBM模型,我无法安装LightGBM。
我尝试过以下方法:
我尝试过以下方法:
pip install lightgbm
,但出现错误:python setup.py egg_info运行失败。
- 然后,我执行了
pip install whell
,现在出现错误:python setup.py bdist_wheel运行失败。
- 然后,我执行了
pip install Cmake
、pip install --upgrade pip setuptools
和brew install libomp
,但错误仍然存在。
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [80 lines of output]
INFO:root:running bdist_wheel
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
INFO:root:running build
INFO:root:running build_py
INFO:root:creating build
INFO:root:creating build/lib
INFO:root:creating build/lib/lightgbm