Notebook_login() not working in JupyterLab

When I use notebook_login() in Google Colab, I am able to login fine. However, when I try to run notebook_login() from JupyterLab, it immediately completes computation and moves to the next code chunk, without waiting for me to input my token. When I do attempt to go back to that cell and input my token, nothing happens.

See below how it immediately skips to the next code chunk in JupyterLab:
JupyterLab

Is there any reason why notebook_login() isn’t working in JupyterLab?

Thanks!

Hi @jburns , sorry you are facing this issue. We already had a similar issue in the past about the login widget not working in some environments. Is it possible for you to try either this fix or this fix ?

Thank you very much. The first fix worked for me!

1 Like