InterpretDL icon indicating copy to clipboard operation
InterpretDL copied to clipboard

pip install interpretdl ERROR: Failed building wheel for scikit-learn

Open moonnnpie opened this issue 1 year ago • 5 comments

当我pip install interpretdl的时候 报错 Failed to build scikit-learn ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects 请问是为什么

moonnnpie avatar Dec 04 '23 09:12 moonnnpie

可能是python版本不兼容了?因为lime相关的包依赖的是 scikit-learn<=0.24

holyseven avatar Dec 08 '23 01:12 holyseven

same error, any way to fix this?

yudizhangzyd avatar Jan 20 '24 00:01 yudizhangzyd

Which python version are you using? It works on my machine where python3.7 is used.

holyseven avatar Jan 21 '24 02:01 holyseven

3.9

yudizhangzyd avatar Jan 23 '24 00:01 yudizhangzyd

It works on my machine, installed using python3.9 -m pip install interpretdl -i https://pypi.tuna.tsinghua.edu.cn/simple. You can use the default mirror by removing -i https://pypi.tuna.tsinghua.edu.cn/simple.

image

holyseven avatar Jan 23 '24 00:01 holyseven