interpret icon indicating copy to clipboard operation
interpret copied to clipboard

pip install in colab

Open dirknbr opened this issue 4 years ago • 1 comments

Trying to install this in Google Colab with pip I get some issues

After restarting the runtime, it cannot find the library

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.
jupyter-console 5.2.0 requires prompt-toolkit<2.0.0,>=1.0.0, but you have prompt-toolkit 3.0.22 which is incompatible.
google-colab 1.0.0 requires ipykernel~=4.10, but you have ipykernel 6.5.1 which is incompatible.
google-colab 1.0.0 requires ipython~=5.5.0, but you have ipython 7.29.0 which is incompatible.
Successfully installed SALib-1.4.5 brotli-1.0.9 dash-2.0.0 dash-core-components-2.0.0 dash-cytoscape-0.3.0 dash-html-components-2.0.0 dash-table-5.0.0 flask-compress-1.10.1 gevent-21.8.0 interpret-0.2.7 interpret-core-0.2.7 ipykernel-6.5.1 ipython-7.29.0 lime-0.2.0.1 pathos-0.2.8 plotly-5.4.0 pox-0.3.0 ppft-1.6.6.4 prompt-toolkit-3.0.22 psutil-5.8.0 shap-0.40.0 skope-rules-1.0.1 slicer-0.0.7 tenacity-8.0.1 treeinterpreter-0.2.3 zope.event-4.5.0 zope.interface-5.4.0

WARNING: Upgrading ipython, ipykernel, tornado, prompt-toolkit or pyzmq can
cause your runtime to repeatedly crash or behave in unexpected ways and is not
recommended. If your runtime won't connect or execute code, you can reset it
with "Factory reset runtime" from the "Runtime" menu.
WARNING: The following packages were previously imported in this runtime:
  [IPython,ipykernel,prompt_toolkit,psutil]
You must restart the runtime in order to use newly installed versions.

dirknbr avatar Nov 24 '21 11:11 dirknbr

Hey. Try this twice (odd I know, but it works)

!pip install interpret interpret-core

mikewlange avatar Mar 02 '22 17:03 mikewlange

This seems to work now with just

!pip install interpret

paulbkoch avatar Feb 10 '23 07:02 paulbkoch