Skip to content

Interact produces warning after matplotlib import #3865

Closed
@bamalu

Description

@bamalu

Description

A DeprecationWarning is raised when calling interact after importing matplotlib:

C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Lib\site-packages\ipywidgets\widgets\interaction.py:43: DeprecationWarning: `ipykernel.pylab.backend_inline` is deprecated, directly use `matplotlib_inline.backend_inline`
  from ipykernel.pylab.backend_inline import flush_figures

image

Reproduce

  1. conda create -n ipywidgets-test --override-channels --strict-channel-priority -c conda-forge -c anaconda jupyterlab

  2. conda activate ipywidgets-test

  3. pip install --upgrade ipywidgets

  4. pip install matplotlib

  5. The issue may then be reproduced by running the following code in a jupyterlab cell:

import warnings
warnings.filterwarnings('always')
import matplotlib.pyplot as plt
from ipywidgets import interact

@interact(x=True, y=1.0)
def g(x, y):
    return (x, y)

Expected behavior

This basic example from the documentation is expected to run without warning.

Context

  • ipywidgets version 8.1.1
  • Operating System and version: Microsoft Windows Version 22H2 (OS Build 19045.3693)
  • Browser and version: Firefox Browser 120.0 (64-bit)
Troubleshoot Output
(ipywidgets-test) C:\Users\xxx>jupyter troubleshoot
$PATH:
        C:\Users\xxx\Anaconda3\envs\ipywidgets-test
        C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Library\mingw-w64\bin
        C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Library\usr\bin
        C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Library\bin
        C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Scripts
        C:\Users\xxx\Anaconda3\envs\ipywidgets-test\bin
        C:\Users\xxx\Anaconda3\condabin
        C:\Users\xxx\Anaconda3
        C:\Users\xxx\Anaconda3\Library\mingw-w64\bin
        C:\Users\xxx\Anaconda3\Library\usr\bin
        C:\Users\xxx\Anaconda3\Library\bin
        C:\Users\xxx\Anaconda3\Scripts
        C:\Windows\system32
        C:\Windows
        C:\Windows\System32\Wbem
        C:\Windows\System32\WindowsPowerShell\v1.0
        C:\Windows\System32\OpenSSH
        C:\Program Files\MATLAB\R2023a\bin
        C:\Program Files\PuTTY
        C:\Users\xxx\.pyenv\pyenv-win\bin
        C:\Users\xxx\.pyenv\pyenv-win\shims
        C:\Users\xxx\AppData\Local\Microsoft\WindowsApps
        C:\Users\xxx\AppData\Local\Programs\Microsoft VS Code\bin
        C:\Users\xxx\AppData\Local\Programs\Git\cmd
        C:\texlive\2023\bin\windows

sys.path:
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Scripts
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\python312.zip
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\DLLs
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Lib
C:\Users\xxx\Anaconda3\envs\ipywidgets-test
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Lib\site-packages
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Lib\site-packages\win32
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Lib\site-packages\win32\lib
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Lib\site-packages\Pythonwin

sys.executable:
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\python.exe

sys.version:
3.12.0 | packaged by conda-forge | (main, Oct 3 2023, 08:26:13) [MSC v.1935 64 bit (AMD64)]

platform.platform():
Windows-10-10.0.19045-SP0

where jupyter:
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Scripts\jupyter.exe
C:\Users\xxx\Anaconda3\Scripts\jupyter.exe

pip list:
Package Version
------------------------- ------------
anyio 4.0.0
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asttokens 2.4.1
async-lru 2.0.4
attrs 23.1.0
Babel 2.13.1
beautifulsoup4 4.12.2
bleach 6.1.0
Brotli 1.1.0
cached-property 1.5.2
certifi 2023.11.17
cffi 1.16.0
charset-normalizer 3.3.2
colorama 0.4.6
comm 0.1.4
contourpy 1.2.0
cycler 0.12.1
debugpy 1.8.0
decorator 5.1.1
defusedxml 0.7.1
entrypoints 0.4
exceptiongroup 1.2.0
executing 2.0.1
fastjsonschema 2.19.0
fonttools 4.45.1
fqdn 1.5.1
idna 3.4
importlib-metadata 6.8.0
importlib-resources 6.1.1
ipykernel 6.26.0
ipython 8.17.2
ipywidgets 8.1.1
isoduration 20.11.0
jedi 0.19.1
Jinja2 3.1.2
json5 0.9.14
jsonpointer 2.4
jsonschema 4.20.0
jsonschema-specifications 2023.11.1
jupyter_client 8.6.0
jupyter_core 5.5.0
jupyter-events 0.9.0
jupyter-lsp 2.2.0
jupyter_server 2.10.1
jupyter_server_terminals 0.4.4
jupyterlab 4.0.9
jupyterlab_pygments 0.3.0
jupyterlab_server 2.25.2
jupyterlab-widgets 3.0.9
kiwisolver 1.4.5
MarkupSafe 2.1.3
matplotlib 3.8.2
matplotlib-inline 0.1.6
mistune 3.0.2
nbclient 0.8.0
nbconvert 7.11.0
nbformat 5.9.2
nest-asyncio 1.5.8
notebook_shim 0.2.3
numpy 1.26.2
overrides 7.4.0
packaging 23.2
pandocfilters 1.5.0
parso 0.8.3
pickleshare 0.7.5
Pillow 10.1.0
pip 23.3.1
pkgutil_resolve_name 1.3.10
platformdirs 4.0.0
prometheus-client 0.19.0
prompt-toolkit 3.0.41
psutil 5.9.5
pure-eval 0.2.2
pycparser 2.21
Pygments 2.17.2
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
python-json-logger 2.0.7
pytz 2023.3.post1
pywin32 306
pywinpty 2.0.12
PyYAML 6.0.1
pyzmq 25.1.1
referencing 0.31.0
requests 2.31.0
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rpds-py 0.13.1
Send2Trash 1.8.2
setuptools 68.2.2
six 1.16.0
sniffio 1.3.0
soupsieve 2.5
stack-data 0.6.2
terminado 0.18.0
tinycss2 1.2.1
tomli 2.0.1
tornado 6.3.3
traitlets 5.13.0
types-python-dateutil 2.8.19.14
typing_extensions 4.8.0
typing-utils 0.1.0
uri-template 1.3.0
urllib3 2.1.0
wcwidth 0.2.12
webcolors 1.13
webencodings 0.5.1
websocket-client 1.6.4
wheel 0.41.3
widgetsnbextension 4.0.9
win-inet-pton 1.1.0
zipp 3.17.0

conda list:
# packages in environment at C:\Users\xxx\Anaconda3\envs\ipywidgets-test:
#
# Name Version Build Channel
anyio 4.0.0 pyhd8ed1ab_0 conda-forge
argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge
argon2-cffi-bindings 21.2.0 py312he70551f_4 conda-forge
arrow 1.3.0 pyhd8ed1ab_0 conda-forge
asttokens 2.4.1 pyhd8ed1ab_0 conda-forge
async-lru 2.0.4 pyhd8ed1ab_0 conda-forge
attrs 23.1.0 pyh71513ae_1 conda-forge
babel 2.13.1 pyhd8ed1ab_0 conda-forge
beautifulsoup4 4.12.2 pyha770c72_0 conda-forge
bleach 6.1.0 pyhd8ed1ab_0 conda-forge
brotli-python 1.1.0 py312h53d5487_1 conda-forge
bzip2 1.0.8 hcfcfb64_5 conda-forge
ca-certificates 2023.11.17 h56e8100_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
certifi 2023.11.17 pyhd8ed1ab_0 conda-forge
cffi 1.16.0 py312he70551f_0 conda-forge
charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
comm 0.1.4 pyhd8ed1ab_0 conda-forge
contourpy 1.2.0 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
debugpy 1.8.0 py312h53d5487_1 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
entrypoints 0.4 pyhd8ed1ab_0 conda-forge
exceptiongroup 1.2.0 pyhd8ed1ab_0 conda-forge
executing 2.0.1 pyhd8ed1ab_0 conda-forge
fonttools 4.45.1 pypi_0 pypi
fqdn 1.5.1 pyhd8ed1ab_0 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
importlib-metadata 6.8.0 pyha770c72_0 conda-forge
importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge
importlib_resources 6.1.1 pyhd8ed1ab_0 conda-forge
ipykernel 6.26.0 pyha63f2e9_0 conda-forge
ipython 8.17.2 pyh5737063_0 conda-forge
ipywidgets 8.1.1 pypi_0 pypi
isoduration 20.11.0 pyhd8ed1ab_0 conda-forge
jedi 0.19.1 pyhd8ed1ab_0 conda-forge
jinja2 3.1.2 pyhd8ed1ab_1 conda-forge
json5 0.9.14 pyhd8ed1ab_0 conda-forge
jsonpointer 2.4 py312h2e8e312_3 conda-forge
jsonschema 4.20.0 pyhd8ed1ab_0 conda-forge
jsonschema-specifications 2023.11.1 pyhd8ed1ab_0 conda-forge
jsonschema-with-format-nongpl 4.20.0 pyhd8ed1ab_0 conda-forge
jupyter-lsp 2.2.0 pyhd8ed1ab_0 conda-forge
jupyter_client 8.6.0 pyhd8ed1ab_0 conda-forge
jupyter_core 5.5.0 py312h2e8e312_0 conda-forge
jupyter_events 0.9.0 pyhd8ed1ab_0 conda-forge
jupyter_server 2.10.1 pyhd8ed1ab_0 conda-forge
jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge
jupyterlab 4.0.9 pyhd8ed1ab_0 conda-forge
jupyterlab-widgets 3.0.9 pypi_0 pypi
jupyterlab_pygments 0.3.0 pyhd8ed1ab_0 conda-forge
jupyterlab_server 2.25.2 pyhd8ed1ab_0 conda-forge
kiwisolver 1.4.5 pypi_0 pypi
libexpat 2.5.0 h63175ca_1 conda-forge
libffi 3.4.2 h8ffe710_5 conda-forge
libsodium 1.0.18 h8d14728_1 conda-forge
libsqlite 3.44.1 hcfcfb64_0 conda-forge
libzlib 1.2.13 hcfcfb64_5 conda-forge
markupsafe 2.1.3 py312he70551f_1 conda-forge
matplotlib 3.8.2 pypi_0 pypi
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
mistune 3.0.2 pyhd8ed1ab_0 conda-forge
nbclient 0.8.0 pyhd8ed1ab_0 conda-forge
nbconvert-core 7.11.0 pyhd8ed1ab_0 conda-forge
nbformat 5.9.2 pyhd8ed1ab_0 conda-forge
nest-asyncio 1.5.8 pyhd8ed1ab_0 conda-forge
notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge
numpy 1.26.2 pypi_0 pypi
openssl 3.1.4 hcfcfb64_0 conda-forge
overrides 7.4.0 pyhd8ed1ab_0 conda-forge
packaging 23.2 pyhd8ed1ab_0 conda-forge
pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 10.1.0 pypi_0 pypi
pip 23.3.1 pyhd8ed1ab_0 conda-forge
pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge
platformdirs 4.0.0 pyhd8ed1ab_0 conda-forge
prometheus_client 0.19.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.41 pyha770c72_0 conda-forge
prompt_toolkit 3.0.41 hd8ed1ab_0 conda-forge
psutil 5.9.5 py312he70551f_1 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pygments 2.17.2 pyhd8ed1ab_0 conda-forge
pyparsing 3.1.1 pypi_0 pypi
pysocks 1.7.1 pyh0701188_6 conda-forge
python 3.12.0 h2628c8c_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-fastjsonschema 2.19.0 pyhd8ed1ab_0 conda-forge
python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge
python_abi 3.12 4_cp312 conda-forge
pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge
pywin32 306 py312h53d5487_2 conda-forge
pywinpty 2.0.12 py312h53d5487_0 conda-forge
pyyaml 6.0.1 py312he70551f_1 conda-forge
pyzmq 25.1.1 py312h1ac6f91_2 conda-forge
referencing 0.31.0 pyhd8ed1ab_0 conda-forge
requests 2.31.0 pyhd8ed1ab_0 conda-forge
rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge
rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge
rpds-py 0.13.1 py312hfccd98a_0 conda-forge
send2trash 1.8.2 pyh08f2357_0 conda-forge
setuptools 68.2.2 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
sniffio 1.3.0 pyhd8ed1ab_0 conda-forge
soupsieve 2.5 pyhd8ed1ab_1 conda-forge
stack_data 0.6.2 pyhd8ed1ab_0 conda-forge
terminado 0.18.0 pyh5737063_0 conda-forge
tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge
tk 8.6.13 h5226925_1 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
tornado 6.3.3 py312he70551f_1 conda-forge
traitlets 5.13.0 pyhd8ed1ab_0 conda-forge
types-python-dateutil 2.8.19.14 pyhd8ed1ab_0 conda-forge
typing-extensions 4.8.0 hd8ed1ab_0 conda-forge
typing_extensions 4.8.0 pyha770c72_0 conda-forge
typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
ucrt 10.0.22621.0 h57928b3_0 conda-forge
uri-template 1.3.0 pyhd8ed1ab_0 conda-forge
urllib3 2.1.0 pyhd8ed1ab_0 conda-forge
vc 14.3 h64f974e_17 conda-forge
vc14_runtime 14.36.32532 hdcecf7f_17 conda-forge
vs2015_runtime 14.36.32532 h05e6639_17 conda-forge
wcwidth 0.2.12 pyhd8ed1ab_0 conda-forge
webcolors 1.13 pyhd8ed1ab_0 conda-forge
webencodings 0.5.1 pyhd8ed1ab_2 conda-forge
websocket-client 1.6.4 pyhd8ed1ab_0 conda-forge
wheel 0.41.3 pyhd8ed1ab_0 conda-forge
widgetsnbextension 4.0.9 pypi_0 pypi
win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge
winpty 0.4.3 4 conda-forge
xz 5.2.6 h8d14728_0 conda-forge
yaml 0.2.5 h8ffe710_2 conda-forge
zeromq 4.3.5 h63175ca_0 conda-forge
zipp 3.17.0 pyhd8ed1ab_0 conda-forge

conda env:
name: ipywidgets-test
channels:
- conda-forge
- defaults
dependencies:
- anyio=4.0.0=pyhd8ed1ab_0
- argon2-cffi=23.1.0=pyhd8ed1ab_0
- argon2-cffi-bindings=21.2.0=py312he70551f_4
- arrow=1.3.0=pyhd8ed1ab_0
- asttokens=2.4.1=pyhd8ed1ab_0
- async-lru=2.0.4=pyhd8ed1ab_0
- attrs=23.1.0=pyh71513ae_1
- babel=2.13.1=pyhd8ed1ab_0
- beautifulsoup4=4.12.2=pyha770c72_0
- bleach=6.1.0=pyhd8ed1ab_0
- brotli-python=1.1.0=py312h53d5487_1
- bzip2=1.0.8=hcfcfb64_5
- ca-certificates=2023.11.17=h56e8100_0
- cached-property=1.5.2=hd8ed1ab_1
- cached_property=1.5.2=pyha770c72_1
- certifi=2023.11.17=pyhd8ed1ab_0
- cffi=1.16.0=py312he70551f_0
- charset-normalizer=3.3.2=pyhd8ed1ab_0
- colorama=0.4.6=pyhd8ed1ab_0
- comm=0.1.4=pyhd8ed1ab_0
- debugpy=1.8.0=py312h53d5487_1
- decorator=5.1.1=pyhd8ed1ab_0
- defusedxml=0.7.1=pyhd8ed1ab_0
- entrypoints=0.4=pyhd8ed1ab_0
- exceptiongroup=1.2.0=pyhd8ed1ab_0
- executing=2.0.1=pyhd8ed1ab_0
- fqdn=1.5.1=pyhd8ed1ab_0
- idna=3.4=pyhd8ed1ab_0
- importlib-metadata=6.8.0=pyha770c72_0
- importlib_metadata=6.8.0=hd8ed1ab_0
- importlib_resources=6.1.1=pyhd8ed1ab_0
- ipykernel=6.26.0=pyha63f2e9_0
- ipython=8.17.2=pyh5737063_0
- isoduration=20.11.0=pyhd8ed1ab_0
- jedi=0.19.1=pyhd8ed1ab_0
- jinja2=3.1.2=pyhd8ed1ab_1
- json5=0.9.14=pyhd8ed1ab_0
- jsonpointer=2.4=py312h2e8e312_3
- jsonschema=4.20.0=pyhd8ed1ab_0
- jsonschema-specifications=2023.11.1=pyhd8ed1ab_0
- jsonschema-with-format-nongpl=4.20.0=pyhd8ed1ab_0
- jupyter-lsp=2.2.0=pyhd8ed1ab_0
- jupyter_client=8.6.0=pyhd8ed1ab_0
- jupyter_core=5.5.0=py312h2e8e312_0
- jupyter_events=0.9.0=pyhd8ed1ab_0
- jupyter_server=2.10.1=pyhd8ed1ab_0
- jupyter_server_terminals=0.4.4=pyhd8ed1ab_1
- jupyterlab=4.0.9=pyhd8ed1ab_0
- jupyterlab_pygments=0.3.0=pyhd8ed1ab_0
- jupyterlab_server=2.25.2=pyhd8ed1ab_0
- libexpat=2.5.0=h63175ca_1
- libffi=3.4.2=h8ffe710_5
- libsodium=1.0.18=h8d14728_1
- libsqlite=3.44.1=hcfcfb64_0
- libzlib=1.2.13=hcfcfb64_5
- markupsafe=2.1.3=py312he70551f_1
- matplotlib-inline=0.1.6=pyhd8ed1ab_0
- mistune=3.0.2=pyhd8ed1ab_0
- nbclient=0.8.0=pyhd8ed1ab_0
- nbconvert-core=7.11.0=pyhd8ed1ab_0
- nbformat=5.9.2=pyhd8ed1ab_0
- nest-asyncio=1.5.8=pyhd8ed1ab_0
- notebook-shim=0.2.3=pyhd8ed1ab_0
- openssl=3.1.4=hcfcfb64_0
- overrides=7.4.0=pyhd8ed1ab_0
- packaging=23.2=pyhd8ed1ab_0
- pandocfilters=1.5.0=pyhd8ed1ab_0
- parso=0.8.3=pyhd8ed1ab_0
- pickleshare=0.7.5=py_1003
- pip=23.3.1=pyhd8ed1ab_0
- pkgutil-resolve-name=1.3.10=pyhd8ed1ab_1
- platformdirs=4.0.0=pyhd8ed1ab_0
- prometheus_client=0.19.0=pyhd8ed1ab_0
- prompt-toolkit=3.0.41=pyha770c72_0
- prompt_toolkit=3.0.41=hd8ed1ab_0
- psutil=5.9.5=py312he70551f_1
- pure_eval=0.2.2=pyhd8ed1ab_0
- pycparser=2.21=pyhd8ed1ab_0
- pygments=2.17.2=pyhd8ed1ab_0
- pysocks=1.7.1=pyh0701188_6
- python=3.12.0=h2628c8c_0_cpython
- python-dateutil=2.8.2=pyhd8ed1ab_0
- python-fastjsonschema=2.19.0=pyhd8ed1ab_0
- python-json-logger=2.0.7=pyhd8ed1ab_0
- python_abi=3.12=4_cp312
- pytz=2023.3.post1=pyhd8ed1ab_0
- pywin32=306=py312h53d5487_2
- pywinpty=2.0.12=py312h53d5487_0
- pyyaml=6.0.1=py312he70551f_1
- pyzmq=25.1.1=py312h1ac6f91_2
- referencing=0.31.0=pyhd8ed1ab_0
- requests=2.31.0=pyhd8ed1ab_0
- rfc3339-validator=0.1.4=pyhd8ed1ab_0
- rfc3986-validator=0.1.1=pyh9f0ad1d_0
- rpds-py=0.13.1=py312hfccd98a_0
- send2trash=1.8.2=pyh08f2357_0
- setuptools=68.2.2=pyhd8ed1ab_0
- six=1.16.0=pyh6c4a22f_0
- sniffio=1.3.0=pyhd8ed1ab_0
- soupsieve=2.5=pyhd8ed1ab_1
- stack_data=0.6.2=pyhd8ed1ab_0
- terminado=0.18.0=pyh5737063_0
- tinycss2=1.2.1=pyhd8ed1ab_0
- tk=8.6.13=h5226925_1
- tomli=2.0.1=pyhd8ed1ab_0
- tornado=6.3.3=py312he70551f_1
- traitlets=5.13.0=pyhd8ed1ab_0
- types-python-dateutil=2.8.19.14=pyhd8ed1ab_0
- typing-extensions=4.8.0=hd8ed1ab_0
- typing_extensions=4.8.0=pyha770c72_0
- typing_utils=0.1.0=pyhd8ed1ab_0
- tzdata=2023c=h71feb2d_0
- ucrt=10.0.22621.0=h57928b3_0
- uri-template=1.3.0=pyhd8ed1ab_0
- urllib3=2.1.0=pyhd8ed1ab_0
- vc=14.3=h64f974e_17
- vc14_runtime=14.36.32532=hdcecf7f_17
- vs2015_runtime=14.36.32532=h05e6639_17
- wcwidth=0.2.12=pyhd8ed1ab_0
- webcolors=1.13=pyhd8ed1ab_0
- webencodings=0.5.1=pyhd8ed1ab_2
- websocket-client=1.6.4=pyhd8ed1ab_0
- wheel=0.41.3=pyhd8ed1ab_0
- win_inet_pton=1.1.0=pyhd8ed1ab_6
- winpty=0.4.3=4
- xz=5.2.6=h8d14728_0
- yaml=0.2.5=h8ffe710_2
- zeromq=4.3.5=h63175ca_0
- zipp=3.17.0=pyhd8ed1ab_0
- pip:
- contourpy==1.2.0
- cycler==0.12.1
- fonttools==4.45.1
- ipywidgets==8.1.1
- jupyterlab-widgets==3.0.9
- kiwisolver==1.4.5
- matplotlib==3.8.2
- numpy==1.26.2
- pillow==10.1.0
- pyparsing==3.1.1
- widgetsnbextension==4.0.9
prefix: C:\Users\xxx\Anaconda3\envs\ipywidgets-test

Command Line Output
(ipywidgets-test) C:\Users\xxx>jupyter lab
[I 2023-11-24 08:28:28.044 ServerApp] Package jupyterlab took 0.0000s to import
[I 2023-11-24 08:28:28.054 ServerApp] Package jupyter_lsp took 0.0164s to import
[W 2023-11-24 08:28:28.054 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-11-24 08:28:28.074 ServerApp] Package jupyter_server_terminals took 0.0121s to import
[I 2023-11-24 08:28:28.074 ServerApp] Package notebook_shim took 0.0000s to import
[W 2023-11-24 08:28:28.074 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-11-24 08:28:28.074 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2023-11-24 08:28:28.074 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2023-11-24 08:28:28.084 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-11-24 08:28:28.324 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-11-24 08:28:28.364 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-11-24 08:28:28.364 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2023-11-24 08:28:28.364 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2023-11-24 08:28:28.374 LabApp] JupyterLab extension loaded from C:\Users\xxx\Anaconda3\envs\ipywidgets-test\Lib\site-packages\jupyterlab
[I 2023-11-24 08:28:28.374 LabApp] JupyterLab application directory is C:\Users\xxx\Anaconda3\envs\ipywidgets-test\share\jupyter\lab
[I 2023-11-24 08:28:28.374 LabApp] Extension Manager is 'pypi'.
[I 2023-11-24 08:28:28.374 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-11-24 08:28:28.374 ServerApp] The port 8888 is already in use, trying another port.
[I 2023-11-24 08:28:28.374 ServerApp] Serving notebooks from local directory: C:\Users\xxx
[I 2023-11-24 08:28:28.374 ServerApp] Jupyter Server 2.10.1 is running at:
[I 2023-11-24 08:28:28.374 ServerApp] http://localhost:8889/lab?token=147fa30afe461596b3c2eba4ece46b951cab5daa8e590b88
[I 2023-11-24 08:28:28.374 ServerApp]     http://127.0.0.1:8889/lab?token=147fa30afe461596b3c2eba4ece46b951cab5daa8e590b88
[I 2023-11-24 08:28:28.374 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-11-24 08:28:28.414 ServerApp]
To access the server, open this file in a browser:
    file:///C:/Users/xxx/AppData/Roaming/jupyter/runtime/jpserver-9652-open.html
Or copy and paste one of these URLs:
    http://localhost:8889/lab?token=147fa30afe461596b3c2eba4ece46b951cab5daa8e590b88
    http://127.0.0.1:8889/lab?token=147fa30afe461596b3c2eba4ece46b951cab5daa8e590b88

[I 2023-11-24 08:28:28.504 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[W 2023-11-24 08:28:31.503 LabApp] Could not determine jupyterlab build status without nodejs
[W 2023-11-24 08:28:32.016 ServerApp] Notebook Documents/C4/example_code/c4DemodAdvanced_latest.ipynb is not trusted
[I 2023-11-24 08:28:32.311 ServerApp] Kernel started: dbcc63a9-1fa4-46b7-a69d-d9374f04b6e5
[I 2023-11-24 08:28:32.318 ServerApp] Kernel started: ed5364b4-a108-4975-8d2c-ffb38d801b0d
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[I 2023-11-24 08:28:33.344 ServerApp] Connecting to kernel dbcc63a9-1fa4-46b7-a69d-d9374f04b6e5.
[I 2023-11-24 08:28:33.356 ServerApp] Connecting to kernel dbcc63a9-1fa4-46b7-a69d-d9374f04b6e5.
[I 2023-11-24 08:28:33.395 ServerApp] Connecting to kernel ed5364b4-a108-4975-8d2c-ffb38d801b0d.
[I 2023-11-24 08:28:33.406 ServerApp] Connecting to kernel ed5364b4-a108-4975-8d2c-ffb38d801b0d.
[I 2023-11-24 08:28:33.417 ServerApp] Connecting to kernel ed5364b4-a108-4975-8d2c-ffb38d801b0d.

Browser Output
Language pack 'English_Switzerland' not valid! [jlab_core.a61821d8a2a9c35d7996.js:1:1449202](http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996)
Starting application in workspace: "default" [jlab_core.a61821d8a2a9c35d7996.js:1:7693](http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996)
Uncaught (in promise) TypeError: e is undefined
    Re http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    r http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    r http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    c http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    m http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    l http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    emit http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    _onCellInViewportChanged http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    m http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    l http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    emit http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    set inViewport http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    attachWidget http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    insertWidget http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    _updateForDeferMode http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    _runOnIdleTime http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
[jlab_core.a61821d8a2a9c35d7996.js:1:1128170](http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996)
Starting WebSocket: ws://localhost:8888/api/kernels/ab59d39b-d001-43ed-a91f-dc7a9fcbcf09 2 [jlab_core.a61821d8a2a9c35d7996.js:1:1229013](http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996)
Starting WebSocket: ws://localhost:8888/api/kernels/ce8fe240-8c06-4259-87e6-a33a9966a01a 3 [jlab_core.a61821d8a2a9c35d7996.js:1:1229013](http://localhost:8888/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996)
Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early 2 [336.ebc7a55ea1768712771f.js:1:5783](http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f)
Error: widget model not found
    get_model http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1
    renderModel http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
[134.a63a8d293fb35a52dc25.js:1:72266](http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25)
Error: widget model not found
    get_model http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1
    renderModel http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
[134.a63a8d293fb35a52dc25.js:1:72266](http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25)
Error: widget model not found
    get_model http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1
    renderModel http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
[134.a63a8d293fb35a52dc25.js:1:72266](http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25)
Uncaught (in promise) TypeError: MathJax.Hub is undefined
    a http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/495.79062b4ce5ec7920dcb1.js?v=79062b4ce5ec7920dcb1:1
    typeset http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/495.79062b4ce5ec7920dcb1.js?v=79062b4ce5ec7920dcb1:1
4 [495.79062b4ce5ec7920dcb1.js:1:3590](http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/495.79062b4ce5ec7920dcb1.js?v=79062b4ce5ec7920dcb1)


If using JupyterLab

  • JupyterLab version: 4.0.9
Installed Labextensions
(ipywidgets-test) C:\Users\xxx>jupyter labextension list
JupyterLab v4.0.9
C:\Users\xxx\Anaconda3\envs\ipywidgets-test\share\jupyter\labextensions
        jupyterlab_pygments v0.3.0 enabled ok (python, jupyterlab_pygments)
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled ok (python, jupyterlab_widgets)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions