qiskit-community / qiskit-community-tutorials

A collection of Jupyter notebooks developed by the community showing how to use Qiskit
Apache License 2.0
722 stars 512 forks source link

Error while doing the composing quantum on Jupyter Lab #131

Closed TheFlightSimsOfficial closed 1 year ago

TheFlightSimsOfficial commented 1 year ago

Hello all,

I am looking for this problem: ibm-q-lab-widgets could not be loaded, causing the failure of the composer.

Platform OS: Ubuntu 22.04 LTS on WSL 1 IPython: 8.11.0 ipykernel : 6.22.0 ipywidgets: 8.0.5 jupyter_client : 7.4.1 jupyter_core : 5.3.0 jupyter_server : 1.23.6 jupyterlab : 3.6.2 nbclient: 0.7.2 nbconvert: 7.2.10 nbformat : 5.8.0 notebook: 6.5.3 qtconsole: not installed traitlets: 5.9.0

Error details is here:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'CircuitComposerModel' from module '@quantum/ibm-q-lab-widgets'
Error: No version of module @quantum/ibm-q-lab-widgets is registered
    at f.loadClass (http://localhost:8000/user/ admin/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.c61b95b04e00f8487eeb.js?v=c61b95b04e00f8487eeb:1:74856)
    at f.loadModelClass (http://localhost:8000/user/ admin/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.267f129ae5fd6a33b390.js?v=267f129ae5fd6a33b390:1:10729)
    at f._make_model (http://localhost:8000/user/ admin/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.267f129ae5fd6a33b390.js?v=267f129ae5fd6a33b390:1:7517)
    at f.new_model (http://localhost:8000/user/ admin/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.267f129ae5fd6a33b390.js?v=267f129ae5fd6a33b390:1:5137)
    at f.handle_comm_open (http://localhost:8000/user/ admin/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.267f129ae5fd6a33b390.js?v=267f129ae5fd6a33b390:1:3894)
    at _handleCommOpen (http://localhost:8000/user/ admin/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.c61b95b04e00f8487eeb.js?v=c61b95b04e00f8487eeb:1:73393)
    at b._handleCommOpen (http://localhost:8000/user/ admin/static/lab/jlab_core.48a41b637653e18e773e.js?v=48a41b637653e18e773e:2:1039756)
    at async b._handleMessage (http://localhost:8000/user/ admin/static/lab/jlab_core.48a41b637653e18e773e.js?v=48a41b637653e18e773e:2:1041746)
TheFlightSimsOfficial commented 1 year ago

Moved to https://github.com/Qiskit/qiskit/issues/1703. Sorry for the interruption.