question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Witwidget in JupyterLab

See original GitHub issue

Hi there,

I’m experiencing some issues with JupyterLab and WIT visualization.

I have created an Anaconda environment with Python 3.7.3 and JupyterLab v1.0.2. I installed WIT widget as instructed in project’s README https://github.com/tensorflow/tensorboard/tree/master/tensorboard/plugins/interactive_inference#how-do-i-enable-it-for-use-in-a-jupyterlab-or-cloud-ai-platform-notebook and run the demo What_If_Tool_Notebook_Usage.ipynb notebook. Problem is that the output of the last cell is WitWidget(config={'model_type': 'classification', 'label_vocab': ['Under 50K', 'Over 50K'], 'are_sequence_exam… instead of the visualization. I’m using Google Chrome v71.0

In my browser’s console I get the following errors: Screenshot from 2019-07-23 14-58-45

I’ve tried the same with Jupyter Notebook and it works as expected. Is there any known issue with JupyterLab or am I missing something?

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kouzantcommented, Jul 25, 2019

I have it installed. In the logs I sent, the first error is that failed to activate jupyter-widgets The extensions I have installed are the following

JupyterLab v1.0.2
Known labextensions:
   app dir: /opt/anaconda2/envs/jupyterlab/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v1.0.1  enabled  OK
        wit-widget v1.3.0  enabled  OK
0reactions
psybuzzcommented, Jan 23, 2021

Based on the last comment, it seems reinstalling the widget with the necessary extensions worked, so closing this issue.

For anyone else who may still be facing the issue, note that the What If Tool has moved into a separate repository, so please file an issue at https://github.com/PAIR-code/what-if-tool/issues/new for reporting issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Witwidget issue in JupyterLab #179 - GitHub
Hi there, I am facing issues with WIT visualization in JupyterLab. Working in a miniconda environment with Python 3.8.5 and JupyterLab 3.1.7 ...
Read more >
Getting Started in Notebooks - People + AI Research (PAIR)
JupyterLab : Install the required witwidget package and enable the notebook extension inside of the actual notebook. Note that refreshing the notebook page ......
Read more >
wit-widget - npm
Start using wit-widget in your project by running `npm i wit-widget`. There are no other projects in the npm registry using wit-widget.
Read more >
witwidget - PyPI
The witwidget package adds the What-If Tool to Jupyter and Colaboratory notebooks as a widget. Installation and usage instructions can be found in...
Read more >
ModuleNotFoundError when import witwidget - Google Groups
Assuming you are using a standard Jupyter notebook setup, and not JupyterLab, then after you run those commands on the command line, you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found