Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
moonnnpie opened this issue Dec 4, 2023 · 5 comments
Open

Comments

@moonnnpie
Copy link

当我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
请问是为什么

@holyseven
Copy link
Collaborator

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

@yudizhangzyd
Copy link

same error, any way to fix this?

@holyseven
Copy link
Collaborator

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

@yudizhangzyd
Copy link

3.9

@holyseven
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants