jupyter-widgets / jupyterlab-sidecar

A sidecar output widget for JupyterLab
BSD 3-Clause "New" or "Revised" License
247 stars 39 forks source link

ModuleNotFoundError #3

Closed irtazas closed 6 years ago

irtazas commented 6 years ago

Error occurs after installing and importing sidecar:

ModuleNotFoundError Traceback (most recent call last)

in () ----> 1 from sidecar import Sidecar 2 from ipywidgets import IntSlider ModuleNotFoundError: No module named 'sidecar'
SylvainCorlay commented 6 years ago

You probably did not install sidecar in the right environment.

irtazas commented 6 years ago

It is shown as installed and enabled in my current environment: (jupyterlab-sandbox) jendeimac01:workspace irtazasyed$ jupyter labextension list JupyterLab v0.32.1 Known labextensions: app dir: /anaconda3/envs/jupyterlab-sandbox/share/jupyter/lab @jupyter-widgets/jupyterlab-manager @jupyter-widgets/jupyterlab-manager v0.35.0 enabled OK @jupyter-widgets/jupyterlab-sidecar @jupyter-widgets/jupyterlab-sidecar v0.1.0 enabled OK jupyterlab_bokeh jupyterlab_bokeh v0.5.0 enabled OK

SylvainCorlay commented 6 years ago

Yes, but there are two things at play:

irtazas commented 6 years ago

I installed it in the kernel environment and it is working now. Thank you very much @SylvainCorlay !