# Ipywidgets and interactive in vscode

**URL:** <https://discourse.jupyter.org/t/ipywidgets-and-interactive-in-vscode/35194>\
**Category:** Notebook\
**Created:** [May 9, 2025, 8:36am UTC](https://discourse.jupyter.org/t/ipywidgets-and-interactive-in-vscode/35194 "2025-05-09T08:36:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LamerDrv](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@LamerDrv](https://discourse.jupyter.org/u/LamerDrv)\
**Post date:** [May 9, 2025, 8:36am UTC](https://discourse.jupyter.org/t/ipywidgets-and-interactive-in-vscode/35194/1 "2025-05-09T08:36:00Z")

</div>

Hi. I look at “Lorenz Differential Equations” example

( [JupyterLite](https://ipywidgets.readthedocs.io/en/latest/_static/lab/index.html) )

I can’t run 7th cell from the example in vscode:

```auto
w = interactive(solve_lorenz, angle=(0.,360.), max_time=(0.1, 4.0), N=(0,50), sigma=(0.0,50.0), rho=(0.0,50.0))
display(w)

```

The code execution is not completed - the time counter keeps spinning, infinity loop.

I’ve installed Anaconda, create new environment, installed packages (version of ipywidgets is 8.1.5). If I run terminal window (“Open terminal” from “Anaconda.Navigator”) and execute “jupyter notebook”, then I can run example successfully from internet browser.

 ![very_long_run2](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/3X/c/6/c6b7a8aa557109c91388c8309d574347f908e867.jpeg)

But not from vscode. In vscode I select same environment (which was created in AnacondaNavigator)

Please tell me how to solve this problem.
