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

Explain widgets bug #68

Closed
malay-manglish-datasets opened this issue Dec 11, 2023 · 8 comments
Closed

Explain widgets bug #68

malay-manglish-datasets opened this issue Dec 11, 2023 · 8 comments
Assignees

Comments

@malay-manglish-datasets

What's wrong?

Explain Model, Explain Prediction and Explain Predictions widgets show error "module numpy has no attribute int".

How can we reproduce the problem?

What's your environment?

  • Operating system: Windows
  • Orange version: 3.36.1.
  • How you installed Orange: From web
    data_bike_xai.zip
    site
@VesnaT VesnaT transferred this issue from biolab/orange3 Dec 15, 2023
@VesnaT
Copy link
Contributor

VesnaT commented Dec 15, 2023

I can't reproduce the problem. All three widgets fork fine.
Can you please provide your Orange3-Explain add-on version?

@PrimozGodec
Copy link
Collaborator

There may be a problem with the SHAP library that Orane3-explain uses (some older versions). Can you also provide a library version besides providing an add-on version? You can find those versions by opening the Orange command prompt from the Windows start menu (open the start menu and search for the Orange command prompt). Then run the command conda list, and please paste the output to this issue.

@malay-manglish-datasets
Copy link
Author

I can't reproduce the problem. All three widgets fork fine. Can you please provide your Orange3-Explain add-on version?

0.6.4 < 0.6.8

I have reinstalled Orange, but nothing.

@malay-manglish-datasets
Copy link
Author

malay-manglish-datasets commented Dec 15, 2023

There may be a problem with the SHAP library that Orane3-explain uses (some older versions). Can you also provide a library version besides providing an add-on version? You can find those versions by opening the Orange command prompt from the Windows start menu (open the start menu and search for the Orange command prompt). Then run the command conda list, and please paste the output to this issue.

shap 0.41.0 pypi_0 pypi

the whole list:

Name Version Build Channel

_py-xgboost-mutex 2.0 cpu_0
aiohttp 3.8.4 pypi_0 pypi
aiosignal 1.3.1 pypi_0 pypi
anyio 4.0.0 pyhd8ed1ab_0
anyqt 0.2.0 pyh6c4a22f_0
appdirs 1.4.4 pypi_0 pypi
asttokens 2.4.0 pyhd8ed1ab_0
async-timeout 4.0.2 pypi_0 pypi
attrs 23.1.0 pyh71513ae_1
backcall 0.2.0 pyh9f0ad1d_0
backports 1.0 pyhd8ed1ab_3
backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0
baycomp 1.0.2 py_1
beautifulsoup4 4.12.2 pypi_0 pypi
biopython 1.81 pypi_0 pypi
blas 2.118 openblas
blas-devel 3.9.0 18_win64_openblas
bottleneck 1.3.7 py39hc266a54_0
brotli 1.1.0 hcfcfb64_0
brotli-bin 1.1.0 hcfcfb64_0
brotli-python 1.1.0 py39h99910a6_0
brotlipy 0.7.0 py39ha55989b_1005
bzip2 1.0.8 h8ffe710_4
ca-certificates 2023.7.22 h56e8100_0
cachecontrol 0.12.12 pyhd8ed1ab_1
cairo 1.16.0 hdecc03f_1016
catboost 1.2.2 py39hcbf5309_0
cattrs 23.1.2 pyhd8ed1ab_0
certifi 2023.7.22 pyhd8ed1ab_0
cffi 1.15.1 py39h68f70e3_2
chardet 5.2.0 py39hcbf5309_1
charset-normalizer 3.2.0 pyhd8ed1ab_0
click 8.1.3 pypi_0 pypi
cloudpickle 2.2.1 pypi_0 pypi
colorama 0.4.6 pyhd8ed1ab_0
commonmark 0.9.1 py_0
conllu 4.5.3 pypi_0 pypi
contourpy 1.1.1 py39h1f6ef14_1
cryptography 38.0.4 py39h58e9bdb_0
cycler 0.11.0 pyhd8ed1ab_0
cython 0.29.32 pypi_0 pypi
debugpy 1.8.0 py39h99910a6_1
decorator 5.1.1 pyhd8ed1ab_0
defusedxml 0.7.1 pypi_0 pypi
dictdiffer 0.9.0 pyhd8ed1ab_0
docutils 0.20.1 py39hcbf5309_2
docx2txt 0.8 pypi_0 pypi
entrypoints 0.4 pyhd8ed1ab_0
et_xmlfile 1.1.0 pyhd8ed1ab_0
exceptiongroup 1.1.3 pyhd8ed1ab_0
executing 1.2.0 pyhd8ed1ab_0
expat 2.5.0 h63175ca_1
filelock 3.8.2 pyhd8ed1ab_0
font-ttf-dejavu-sans-mono 2.37 hab24e00_0
font-ttf-inconsolata 3.000 h77eed37_0
font-ttf-source-code-pro 2.038 h77eed37_0
font-ttf-ubuntu 0.83 hab24e00_0
fontconfig 2.14.2 hbde0cde_0
fonts-conda-ecosystem 1 0
fonts-conda-forge 1 0
fonttools 4.42.1 py39ha55989b_0
freetype 2.12.1 hdaf720e_2
fribidi 1.0.10 h8d14728_0
frozenlist 1.3.3 pypi_0 pypi
fst-pso 1.8.1 pypi_0 pypi
future 0.18.3 pyhd8ed1ab_0
fuzzytm 2.0.5 pypi_0 pypi
gensim 4.3.0 pypi_0 pypi
getopt-win32 0.1 hcfcfb64_1
gettext 0.21.1 h5728263_0
glib 2.78.0 h12be248_0
glib-tools 2.78.0 h12be248_0
graphite2 1.3.13 1000
graphviz 8.1.0 h51cb2cd_0
gst-plugins-base 1.22.6 h001b923_1
gstreamer 1.22.6 hb4038d2_1
gts 0.7.6 h6b5321d_4
h11 0.14.0 pyhd8ed1ab_0
h2 4.1.0 py39hcbf5309_0
harfbuzz 7.3.0 h196d34a_0
hpack 4.0.0 pyh9f0ad1d_0
httpcore 0.18.0 pyhd8ed1ab_0
httpx 0.24.1 pypi_0 pypi
hyperframe 6.0.1 pyhd8ed1ab_0
icu 72.1 h63175ca_0
idna 3.4 pyhd8ed1ab_0
importlib-metadata 6.8.0 pyha770c72_0
importlib-resources 6.1.0 pyhd8ed1ab_0
importlib_metadata 6.8.0 hd8ed1ab_0
importlib_resources 6.1.0 pyhd8ed1ab_0
ipykernel 6.14.0 py39h832f523_0
ipython 8.4.0 py39hcbf5309_0
ipython_genutils 0.2.0 py_1
itsdangerous 2.1.2 pyhd8ed1ab_0
jaraco.classes 3.3.0 pyhd8ed1ab_0
jedi 0.19.0 pyhd8ed1ab_0
jellyfish 1.0.0 pypi_0 pypi
joblib 1.3.2 pyhd8ed1ab_0
jpeg 9e h8ffe710_2
jupyter_client 8.3.1 pyhd8ed1ab_0
jupyter_core 5.3.2 py39hcbf5309_0
keyring 24.2.0 py39hcbf5309_0
keyrings.alt 4.2.0 pyhd8ed1ab_0
kiwisolver 1.4.5 py39h1f6ef14_1
krb5 1.20.1 heb0366b_0
langdetect 1.0.9 pypi_0 pypi
lcms2 2.15 h3e3b177_1
lemmagen3 3.5.0 pypi_0 pypi
lerc 4.0.0 h63175ca_0
libblas 3.9.0 18_win64_openblas
libbrotlicommon 1.1.0 hcfcfb64_0
libbrotlidec 1.1.0 hcfcfb64_0
libbrotlienc 1.1.0 hcfcfb64_0
libcblas 3.9.0 18_win64_openblas
libclang 16.0.6 default_heb8d277_1
libclang13 16.0.6 default_hc80b9e7_1
libdeflate 1.18 hcfcfb64_0
libexpat 2.5.0 h63175ca_1
libffi 3.4.2 h8ffe710_5
libflang 5.0.0 h6538335_20180525
libgd 2.3.3 h2ed9e1d_6
libglib 2.78.0 he8f3873_0
libiconv 1.17 h8ffe710_0
libjpeg-turbo 2.1.5.1 hcfcfb64_1
liblapack 3.9.0 18_win64_openblas
liblapacke 3.9.0 18_win64_openblas
libogg 1.3.4 h8ffe710_1
libopenblas 0.3.24 pthreads_hc140b1d_0
libpng 1.6.39 h19919ed_0
libsodium 1.0.18 h8d14728_1
libsqlite 3.43.0 hcfcfb64_0
libtiff 4.5.1 h6c8260b_1
libvorbis 1.3.7 h0e60522_0
libwebp 1.3.2 hcfcfb64_0
libwebp-base 1.3.2 hcfcfb64_0
libxcb 1.15 hcd874cb_0
libxgboost 1.7.6 cpu_h0f92c63_2
libxml2 2.11.5 hc3477c8_1
libzlib 1.2.13 hcfcfb64_5
llvm-meta 5.0.0 0
llvmlite 0.40.1 pypi_0 pypi
lockfile 0.12.2 py_1
lttl 2.0.12 pypi_0 pypi
lxml 4.9.2 pypi_0 pypi
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
matplotlib-base 3.8.0 py39hf19769e_1
matplotlib-inline 0.1.6 pyhd8ed1ab_0
miniful 0.0.6 pypi_0 pypi
more-itertools 10.1.0 pyhd8ed1ab_0
msgpack-python 1.0.4 py39h1f6ef14_1
msys2-conda-epoch 20160418 1
multidict 6.0.4 pypi_0 pypi
munkres 1.1.4 pyh9f0ad1d_0
ndf 0.1.4 pypi_0 pypi
nest-asyncio 1.5.6 pyhd8ed1ab_0
networkx 3.1 pyhd8ed1ab_0
nltk 3.8.1 pypi_0 pypi
numba 0.57.1 pypi_0 pypi
numpy 1.24.4 py39h816b6a6_0
oauthlib 3.2.2 pypi_0 pypi
odfpy 1.4.1 pypi_0 pypi
openai 0.27.8 pypi_0 pypi
openblas 0.3.24 pthreads_h3721920_0
openjpeg 2.5.0 ha2aaf27_2
openmp 5.0.0 vc14_1 [vc14]
openpyxl 3.1.2 py39ha55989b_1
openssl 3.1.3 hcfcfb64_0
opentsne 1.0.0 py39h6d95a06_0
orange-canvas-core 0.1.31 pypi_0 pypi
orange-widget-base 4.21.0 pypi_0 pypi
orange3 3.36.1 py39h32e6231_0
orange3-associate 1.2.0 pypi_0 pypi
orange3-explain 0.6.4 pypi_0 pypi
orange3-imageanalytics 0.11.0 pypi_0 pypi
orange3-network 1.7.0 pypi_0 pypi
orange3-prototypes 0.19.0 pypi_0 pypi
orange3-text 1.13.1 pypi_0 pypi
orange3-textable 3.1.11 pypi_0 pypi
orange3-timeseries 0.5.3 pypi_0 pypi
owlready2 0.43 pypi_0 pypi
packaging 23.1 pyhd8ed1ab_0
pandas 1.5.3 py39h2ba5b7c_1
pandas-datareader 0.10.0 pypi_0 pypi
pango 1.50.14 hd64ce24_1
parso 0.8.3 pyhd8ed1ab_0
patsy 0.5.3 pypi_0 pypi
pcre2 10.40 h17e33f8_0
pdfminer3k 1.3.4 pypi_0 pypi
pickleshare 0.7.5 py_1003
pillow 10.0.0 py39ha9166d5_0
pip 23.2.1 pyhd8ed1ab_0
pixman 0.42.2 h63175ca_0
platformdirs 3.10.0 pyhd8ed1ab_0
plotly 5.17.0 pyhd8ed1ab_0
ply 3.11 py_1
pooch 1.7.0 pyha770c72_3
prompt-toolkit 3.0.39 pyha770c72_0
psutil 5.9.5 py39ha55989b_1
pthread-stubs 0.4 hcd874cb_1001
pure_eval 0.2.2 pyhd8ed1ab_0
py-xgboost 1.7.6 cpu_py39h7090721_2
pybind11 2.10.4 pypi_0 pypi
pyclipper 1.3.0.post4 pypi_0 pypi
pycountry 22.3.5 pypi_0 pypi
pycparser 2.21 pyhd8ed1ab_0
pyfume 0.2.25 pypi_0 pypi
pygments 2.16.1 pyhd8ed1ab_0
pyopenssl 22.1.0 pyhd8ed1ab_0
pyparsing 3.1.1 pyhd8ed1ab_0
pyqt 5.15.9 py39hb77abff_5
pyqt5-sip 12.12.2 py39h99910a6_5
pyqtgraph 0.13.3 pyhd8ed1ab_0
pyqtwebengine 5.15.9 py39h2f4a3f1_5
pysocks 1.7.1 py39hcbf5309_5
python 3.9.12 hcf16a7b_1_cpython
python-dateutil 2.8.2 pyhd8ed1ab_0
python-graphviz 0.20.1 pyh22cad53_0
python-louvain 0.16 pyhd8ed1ab_0
python_abi 3.9 4_cp39
pytz 2023.3.post1 pyhd8ed1ab_0
pywin32 306 py39h99910a6_1
pywin32-ctypes 0.2.2 py39hcbf5309_1
pyyaml 6.0.1 py39ha55989b_1
pyzmq 25.1.1 py39hea35a22_1
qasync 0.24.2 pyh9208f05_0
qt-main 5.15.8 h2c8576c_12
qt-webengine 5.15.8 h5b1ea0b_0
qtconsole 5.4.4 pyhd8ed1ab_0
qtconsole-base 5.4.4 pyha770c72_0
qtpy 2.4.0 pyhd8ed1ab_0
regex 2023.6.3 pypi_0 pypi
requests 2.31.0 pyhd8ed1ab_0
requests-cache 1.1.0 pyhd8ed1ab_0
requests-oauthlib 1.3.1 pypi_0 pypi
rfc3986 1.5.0 pyhd8ed1ab_0
scikit-learn 1.1.3 py39h6fe01c0_1
scipy 1.10.1 py39hde5eda1_3
segtok 1.5.11 pypi_0 pypi
serverfiles 0.3.0 py_0
setuptools 68.2.2 pyhd8ed1ab_0
shap 0.41.0 pypi_0 pypi
simhash 2.1.2 pypi_0 pypi
simpful 2.11.0 pypi_0 pypi
sip 6.7.11 py39h99910a6_1
six 1.16.0 pyh6c4a22f_0
slicer 0.0.7 pypi_0 pypi
smart-open 6.3.0 pypi_0 pypi
sniffio 1.3.0 pyhd8ed1ab_0
soupsieve 2.4.1 pypi_0 pypi
sqlite 3.43.0 hcfcfb64_0
stack_data 0.6.2 pyhd8ed1ab_0
statsmodels 0.14.0 pypi_0 pypi
tabulate 0.9.0 pypi_0 pypi
tenacity 8.2.3 pyhd8ed1ab_0
threadpoolctl 3.2.0 pyha21a80b_0
tiktoken 0.4.0 pypi_0 pypi
tk 8.6.13 hcfcfb64_0
toml 0.10.2 pyhd8ed1ab_0
tomli 2.0.1 pyhd8ed1ab_0
tornado 6.3.3 py39ha55989b_1
tqdm 4.65.0 pypi_0 pypi
traitlets 5.10.1 pyhd8ed1ab_0
treetaggerwrapper 2.3 pypi_0 pypi
tweepy 4.14.0 pypi_0 pypi
typing-extensions 4.8.0 hd8ed1ab_0
typing_extensions 4.8.0 pyha770c72_0
tzdata 2023c h71feb2d_0
ucrt 10.0.22621.0 h57928b3_0
ufal-udpipe 1.3.0.1 pypi_0 pypi
ujson 5.8.0 py39h99910a6_0
unicodedata2 15.1.0 py39ha55989b_0
url-normalize 1.4.3 pyhd8ed1ab_0
urllib3 2.0.5 pyhd8ed1ab_0
vc 14.3 h64f974e_17
vc14_runtime 14.36.32532 hdcecf7f_17
vs2015_runtime 14.36.32532 h05e6639_17
wcwidth 0.2.6 pyhd8ed1ab_0
wheel 0.41.2 pyhd8ed1ab_0
wikipedia 1.4.0 pypi_0 pypi
win_inet_pton 1.1.0 py39hcbf5309_5
xgboost 1.7.6 cpu_py39h7090721_2
xlrd 2.0.1 pyhd8ed1ab_3
xlsxwriter 3.1.5 pyhd8ed1ab_0
xorg-kbproto 1.0.7 hcd874cb_1002
xorg-libice 1.1.1 hcd874cb_0
xorg-libsm 1.2.4 hcd874cb_0
xorg-libx11 1.8.6 hefa74cf_0
xorg-libxau 1.0.11 hcd874cb_0
xorg-libxdmcp 1.1.3 hcd874cb_0
xorg-libxext 1.3.4 hcd874cb_2
xorg-libxpm 3.5.16 hcd874cb_0
xorg-libxt 1.3.0 hcd874cb_1
xorg-xextproto 7.3.0 hcd874cb_1003
xorg-xproto 7.0.31 hcd874cb_1007
xz 5.2.6 h8d14728_0
yake 0.4.8 pypi_0 pypi
yaml 0.2.5 h8ffe710_2
yarl 1.9.2 pypi_0 pypi
zeromq 4.3.4 h0e60522_1
zipp 3.17.0 pyhd8ed1ab_0
zlib 1.2.13 hcfcfb64_5
zstd 1.5.5 h12be248_0

@PrimozGodec
Copy link
Collaborator

PrimozGodec commented Dec 15, 2023

It may be connected to shap/shap#3055.

Can you run pip install -U shap in the same Orange command prompt you used to get versions?

We found out that a newer version of ornage3-explain requires a newer version of SHAP so maybe it is better to just upgrade the explain addon in Orange addon dialog.

Let us know if it solves the problem.

@malay-manglish-datasets
Copy link
Author

It may be connected to shap/shap#3055.

Can you run pip install -U shap in the same Orange command prompt you used to get versions?

We found out that a newer version of ornage3-explain requires a newer version of SHAP so maybe it is better to just upgrade the explain addon in Orange addon dialog.

Let us know if it solves the problem.

I ran the pip and now its working fine though it showed the below notification.

(C:\Orange) C:\Orange>pip install -U shap
Requirement already satisfied: shap in c:\users\rui\appdata\roaming\python\python39\site-packages (0.43.0)
Collecting shap
Obtaining dependency information for shap from https://files.pythonhosted.org/packages/a4/69/d7fa1ed3a315d3e63f4d57f6c9e4523fba4f179fb5fd1dee6b2085491195/shap-0.44.0-cp39-cp39-win_amd64.whl.metadata
Downloading shap-0.44.0-cp39-cp39-win_amd64.whl.metadata (24 kB)
Requirement already satisfied: numpy in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (1.21.6)
Requirement already satisfied: scipy in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (1.10.1)
Requirement already satisfied: scikit-learn in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (1.2.2)
Requirement already satisfied: pandas in c:\orange\lib\site-packages (from shap) (1.5.3)
Requirement already satisfied: tqdm>=4.27.0 in c:\orange\lib\site-packages (from shap) (4.65.0)
Requirement already satisfied: packaging>20.9 in c:\orange\lib\site-packages (from shap) (23.1)
Requirement already satisfied: slicer==0.0.7 in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (0.0.7)
Requirement already satisfied: numba in c:\orange\lib\site-packages (from shap) (0.57.1)
Requirement already satisfied: cloudpickle in c:\orange\lib\site-packages (from shap) (2.2.1)
Requirement already satisfied: colorama in c:\orange\lib\site-packages (from tqdm>=4.27.0->shap) (0.4.6)
Requirement already satisfied: llvmlite<0.41,>=0.40.0dev0 in c:\orange\lib\site-packages (from numba->shap) (0.40.1)
Requirement already satisfied: python-dateutil>=2.8.1 in c:\orange\lib\site-packages (from pandas->shap) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\orange\lib\site-packages (from pandas->shap) (2023.3.post1)
Requirement already satisfied: joblib>=1.1.1 in c:\users\rui\appdata\roaming\python\python39\site-packages (from scikit-learn->shap) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\orange\lib\site-packages (from scikit-learn->shap) (3.2.0)
Requirement already satisfied: six>=1.5 in c:\orange\lib\site-packages (from python-dateutil>=2.8.1->pandas->shap) (1.16.0)
Downloading shap-0.44.0-cp39-cp39-win_amd64.whl (447 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.0/448.0 kB 5.6 MB/s eta 0:00:00
Installing collected packages: shap
Attempting uninstall: shap
Found existing installation: shap 0.43.0
Uninstalling shap-0.43.0:
Successfully uninstalled shap-0.43.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
orange3-explain 0.6.4 requires shap==0.41.*, but you have shap 0.44.0 which is incompatible.
Successfully installed shap-0.41.0

@malay-manglish-datasets
Copy link
Author

It may be connected to shap/shap#3055.
Can you run pip install -U shap in the same Orange command prompt you used to get versions?
We found out that a newer version of ornage3-explain requires a newer version of SHAP so maybe it is better to just upgrade the explain addon in Orange addon dialog.
Let us know if it solves the problem.

I ran the pip and now its working fine though it showed the below notification.

(C:\Orange) C:\Orange>pip install -U shap Requirement already satisfied: shap in c:\users\rui\appdata\roaming\python\python39\site-packages (0.43.0) Collecting shap Obtaining dependency information for shap from https://files.pythonhosted.org/packages/a4/69/d7fa1ed3a315d3e63f4d57f6c9e4523fba4f179fb5fd1dee6b2085491195/shap-0.44.0-cp39-cp39-win_amd64.whl.metadata Downloading shap-0.44.0-cp39-cp39-win_amd64.whl.metadata (24 kB) Requirement already satisfied: numpy in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (1.21.6) Requirement already satisfied: scipy in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (1.10.1) Requirement already satisfied: scikit-learn in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (1.2.2) Requirement already satisfied: pandas in c:\orange\lib\site-packages (from shap) (1.5.3) Requirement already satisfied: tqdm>=4.27.0 in c:\orange\lib\site-packages (from shap) (4.65.0) Requirement already satisfied: packaging>20.9 in c:\orange\lib\site-packages (from shap) (23.1) Requirement already satisfied: slicer==0.0.7 in c:\users\rui\appdata\roaming\python\python39\site-packages (from shap) (0.0.7) Requirement already satisfied: numba in c:\orange\lib\site-packages (from shap) (0.57.1) Requirement already satisfied: cloudpickle in c:\orange\lib\site-packages (from shap) (2.2.1) Requirement already satisfied: colorama in c:\orange\lib\site-packages (from tqdm>=4.27.0->shap) (0.4.6) Requirement already satisfied: llvmlite<0.41,>=0.40.0dev0 in c:\orange\lib\site-packages (from numba->shap) (0.40.1) Requirement already satisfied: python-dateutil>=2.8.1 in c:\orange\lib\site-packages (from pandas->shap) (2.8.2) Requirement already satisfied: pytz>=2020.1 in c:\orange\lib\site-packages (from pandas->shap) (2023.3.post1) Requirement already satisfied: joblib>=1.1.1 in c:\users\rui\appdata\roaming\python\python39\site-packages (from scikit-learn->shap) (1.3.2) Requirement already satisfied: threadpoolctl>=2.0.0 in c:\orange\lib\site-packages (from scikit-learn->shap) (3.2.0) Requirement already satisfied: six>=1.5 in c:\orange\lib\site-packages (from python-dateutil>=2.8.1->pandas->shap) (1.16.0) Downloading shap-0.44.0-cp39-cp39-win_amd64.whl (447 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.0/448.0 kB 5.6 MB/s eta 0:00:00 Installing collected packages: shap Attempting uninstall: shap Found existing installation: shap 0.43.0 Uninstalling shap-0.43.0: Successfully uninstalled shap-0.43.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. orange3-explain 0.6.4 requires shap==0.41.*, but you have shap 0.44.0 which is incompatible. Successfully installed shap-0.41.0

Opps i accidentally sent before finishing.

I actually reinstalled the whole Orange plus the add ons updates but didn't work. the -U works. Thanks a lot everyone.

@PrimozGodec
Copy link
Collaborator

Thanks for trying.

The warning you get is because you have an older version of orange3-explain installed, and it requires an older version of SHAP however, there is a newer version of Explain add-on available, and you can update it from the Add-ons menu in Orange.

The newer version of Explain already requires a newer version of SHAP so the problem is already solved on our side, and therefore, I am closing this issue.

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

No branches or pull requests

3 participants