Closed thvasilo closed 2 years ago
Note that this seems to be specific with the conda-forge installation. If I do the following:
conda create --name exp jupyter # Create a new env with just jupyter installed
conda activate exp
pip install explainerdashboard
And launch the notebook it seems to run fine. My conda list in that case is:
Name Version Build Channel
ansi2html 1.6.0 pypi_0 pypi
appnope 0.1.2 py39hecd8cb5_1001
argon2-cffi 20.1.0 py39h9ed2024_1
async_generator 1.10 pyhd3eb1b0_0
attrs 21.2.0 pyhd3eb1b0_0
backcall 0.2.0 pyhd3eb1b0_0
bleach 4.0.0 pyhd3eb1b0_0
brotli 1.0.9 pypi_0 pypi
ca-certificates 2021.10.26 hecd8cb5_2
certifi 2021.10.8 py39hecd8cb5_0
cffi 1.14.6 py39h2125817_0
charset-normalizer 2.0.7 pypi_0 pypi
chart-studio 1.1.0 pypi_0 pypi
click 8.0.3 pypi_0 pypi
cloudpickle 2.0.0 pypi_0 pypi
colour 0.1.5 pypi_0 pypi
cycler 0.11.0 pypi_0 pypi
dash 2.0.0 pypi_0 pypi
dash-auth 1.4.1 pypi_0 pypi
dash-bootstrap-components 0.13.1 pypi_0 pypi
dash-core-components 2.0.0 pypi_0 pypi
dash-html-components 2.0.0 pypi_0 pypi
dash-table 5.0.0 pypi_0 pypi
debugpy 1.5.1 py39he9d5cce_0
decorator 5.1.0 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
dtreeviz 1.3.2 pypi_0 pypi
entrypoints 0.3 py39hecd8cb5_0
explainerdashboard 0.3.7 pypi_0 pypi
flask 2.0.2 pypi_0 pypi
flask-compress 1.10.1 pypi_0 pypi
flask-seasurf 0.3.1 pypi_0 pypi
flask-simplelogin 0.1.1 pypi_0 pypi
flask-wtf 0.15.1 pypi_0 pypi
fonttools 4.28.2 pypi_0 pypi
icu 58.2 h0a44026_3
idna 3.3 pypi_0 pypi
importlib-metadata 4.8.1 py39hecd8cb5_0
importlib_metadata 4.8.1 hd3eb1b0_0
iniconfig 1.1.1 pypi_0 pypi
ipykernel 6.4.1 py39hecd8cb5_1
ipython 7.29.0 py39h01d92e1_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.5 pyhd3eb1b0_1
itsdangerous 2.0.1 pypi_0 pypi
jedi 0.18.0 py39hecd8cb5_1
jinja2 3.0.2 pyhd3eb1b0_0
joblib 1.1.0 pypi_0 pypi
jpeg 9d h9ed2024_0
jsonschema 3.2.0 pyhd3eb1b0_2
jupyter 1.0.0 py39hecd8cb5_7
jupyter-dash 0.4.0 pypi_0 pypi
jupyter_client 7.0.6 pyhd3eb1b0_0
jupyter_console 6.4.0 pyhd3eb1b0_0
jupyter_core 4.9.1 py39hecd8cb5_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
kiwisolver 1.3.2 pypi_0 pypi
libcxx 12.0.0 h2f01273_0
libffi 3.3 hb1e8313_2
libpng 1.6.37 ha441bb4_0
libsodium 1.0.18 h1de35cc_0
llvmlite 0.37.0 pypi_0 pypi
markupsafe 2.0.1 py39h9ed2024_0
matplotlib 3.5.0 pypi_0 pypi
matplotlib-inline 0.1.2 pyhd3eb1b0_2
mistune 0.8.4 py39h9ed2024_1000
nbclient 0.5.3 pyhd3eb1b0_0
nbconvert 6.1.0 py39hecd8cb5_0
nbformat 5.1.3 pyhd3eb1b0_0
ncurses 6.3 hca72f7f_2
nest-asyncio 1.5.1 pyhd3eb1b0_0
notebook 6.4.6 py39hecd8cb5_0
numba 0.54.1 pypi_0 pypi
numpy 1.20.3 pypi_0 pypi
openssl 1.1.1l h9ed2024_0
orjson 3.6.4 pypi_0 pypi
oyaml 1.0 pypi_0 pypi
packaging 21.3 pyhd3eb1b0_0
pandas 1.3.4 pypi_0 pypi
pandocfilters 1.4.3 py39hecd8cb5_1
parso 0.8.2 pyhd3eb1b0_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 8.4.0 pypi_0 pypi
pip 21.2.4 py39hecd8cb5_0
plotly 5.4.0 pypi_0 pypi
pluggy 1.0.0 pypi_0 pypi
prometheus_client 0.12.0 pyhd3eb1b0_0
prompt-toolkit 3.0.20 pyhd3eb1b0_0
prompt_toolkit 3.0.20 hd3eb1b0_0
ptyprocess 0.7.0 pyhd3eb1b0_2
py 1.11.0 pypi_0 pypi
pycparser 2.21 pyhd3eb1b0_0
pygments 2.10.0 pyhd3eb1b0_0
pyparsing 3.0.4 pyhd3eb1b0_0
pyqt 5.9.2 py39h23ab428_6
pyrsistent 0.18.0 py39hca72f7f_0
pytest 6.2.5 pypi_0 pypi
python 3.9.7 h88f2d9e_1
python-dateutil 2.8.2 pyhd3eb1b0_0
python-graphviz 0.18.2 pypi_0 pypi
pytz 2021.3 pypi_0 pypi
pyyaml 6.0 pypi_0 pypi
pyzmq 22.2.1 py39h23ab428_1
qt 5.9.7 h468cd18_1
qtconsole 5.1.1 pyhd3eb1b0_0
qtpy 1.10.0 pyhd3eb1b0_0
readline 8.1 h9ed2024_0
requests 2.26.0 pypi_0 pypi
retrying 1.3.3 pypi_0 pypi
scikit-learn 1.0.1 pypi_0 pypi
scipy 1.7.2 pypi_0 pypi
send2trash 1.8.0 pyhd3eb1b0_1
setuptools 58.0.4 py39hecd8cb5_0
setuptools-scm 6.3.2 pypi_0 pypi
shap 0.40.0 pypi_0 pypi
sip 4.19.13 py39h23ab428_0
six 1.16.0 pyhd3eb1b0_0
slicer 0.0.7 pypi_0 pypi
sqlite 3.36.0 hce871da_0
tenacity 8.0.1 pypi_0 pypi
terminado 0.9.4 py39hecd8cb5_0
testpath 0.5.0 pyhd3eb1b0_0
threadpoolctl 3.0.0 pypi_0 pypi
tk 8.6.11 h7bc2e8c_0
toml 0.10.2 pypi_0 pypi
tomli 1.2.2 pypi_0 pypi
tornado 6.1 py39h9ed2024_0
tqdm 4.62.3 pypi_0 pypi
traitlets 5.1.1 pyhd3eb1b0_0
tzdata 2021e hda174b7_0
ua-parser 0.10.0 pypi_0 pypi
urllib3 1.26.7 pypi_0 pypi
waitress 2.0.0 pypi_0 pypi
wcwidth 0.2.5 pyhd3eb1b0_0
webencodings 0.5.1 py39hecd8cb5_1
werkzeug 2.0.2 pypi_0 pypi
wheel 0.37.0 pyhd3eb1b0_1
widgetsnbextension 3.5.1 py39hecd8cb5_0
wtforms 3.0.0 pypi_0 pypi
xz 5.2.5 h1de35cc_0
zeromq 4.3.4 h23ab428_0
zipp 3.6.0 pyhd3eb1b0_0
zlib 1.2.11 h1de35cc_3
There are a bunch of differences but you'll note dash-bootstrap-components 0.13.1 pypi_0 pypi
here, it was version 1.0.0 when installed through conda-forge.
Hi @thvasilo,
I just noticed that the 0.3.7 version which fixes the dash-bootstrap-components dependency has not been deployed correctly on conda-forge. Somehow missed that. If I have time today will investigate.
In the meantime you can pip install the latest version, which should pin dash-bootstrap-components to v1
Sorry, still working on this: there is something else broken with dtreeviz
and the graphviz
back-end with conda, so haven't been able to release the fix yet on conda. Will keep trying.
Hi I tried running through the
dashboard_examples
notebook but I ran into issues because it seems like explainerdashboard is using some deprecated functions:Here's the full output for my
conda list
:Can we get a list of versions for the packages in requirements.txt that are guaranteed to work? Pinning some more versions there (and similarly for conda) would help.
Long term, updating the dash-related code to follow the new versions would be the best option.