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

problem using "omnixai" via pip in colab #85

Open
mbgarcia89 opened this issue May 25, 2023 · 2 comments
Open

problem using "omnixai" via pip in colab #85

mbgarcia89 opened this issue May 25, 2023 · 2 comments

Comments

@mbgarcia89
Copy link

Hi,

First, I installed the library as follows (in colab) :

!pip install omnixai

But, when I try to do something as simple as:

from omnixai.explainers.vision import VisionExplainer

I get: ContextualVersionConflict: (scikit-learn 1.2.2 (/usr/local/lib/python3.10/dist-packages), Requirement.parse('scikit-learn<1.2,>=0.24'), {'omnixai'})

How should I proceed???
Thanks!

@yangwenz
Copy link
Collaborator

Hi, the current version requires scikit-learn < 1.2 because some dependencies have issues with the latest scikit-learn. Please reinstall scikit-learn to proceed.

@rmarquis
Copy link
Contributor

Do we have an idea which dependency requiers scikit-learn<1.2?
Relaying on such old version will increasingly make it difficult to use onixai in conjunction of other libs, and it might be wise to patch the dependency itself.

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