Ipywidgets and interactive in vscode

Hi. I look at “Lorenz Differential Equations” example

( JupyterLite )

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

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.

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

Please tell me how to solve this problem.