OmniXAI icon indicating copy to clipboard operation
OmniXAI copied to clipboard

problem using "omnixai" via pip in colab

Open mbgarcia89 opened this issue 2 years ago • 3 comments

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!

mbgarcia89 avatar May 25 '23 15:05 mbgarcia89

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.

yangwenz avatar May 26 '23 01:05 yangwenz

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.

rmarquis avatar Jul 23 '24 09:07 rmarquis