Hello,
I have been using Jupyter Notebook successfully for a long time, but today I have encountered a strange problem. Running on windows 10, if I type jupyter notebook in a command prompt then I see the usual text and startup appears successful.
However, when I try to open jupyter in a browser tab I cannot connect, the page remains blank with the little ‘loading’ icon on the browser tab spining indefinitely.
I have tried opening: http://localhost:8888/tree or http://127.0.0.1:8888 and have also tried opening via file:///C:/Users/[username]/AppData/Roaming/jupyter/runtime/nbserver-11912-open.html
In the latter case I see the text: This page should redirect you to Jupyter Notebook. If it doesn't, click here to go to Jupyter.
But jupyter never loads.
I have not changed any system settings since I last ran jupyter successfully. Furthermore, I have tried three browsers (Chrome, Edge, Firefox) and have the same problem on three separate PCs, two of which are Win 10 Enterprise and one is Win 10 Home. I have tried opening ports on the firewall but that doesn’t help. Confusingly, I can connect to a remote notebook fine (via ssh), it’s only loading a local copy of jupyter that’s problematic.
Any ideas what the problem could be? i’ve run out of ideas.
Thanks!
I am relatively new to anaconda and jupyter notebooks and am having the exact same problem running on windows 10. I have tried uninstalling and reinstalling anaconda and jupyter notebook, but the notebook still won’t open on any browser.
Are there other GUIs that can be used to run anaconda environments?
Thanks!
I have fixed this by using jupyter lab instead of jupyter notebook at the command prompt. You can then navitage to localhost:8888/tree to use notebooks as before.
Obviously, though, this is not an optimal solution and the notebooks should work without having to do this, so any proper solutions would be greatly appreciated!
I have nothing to add, except that you are not alone, I have exactly the same problem. I’m on Windows 10, just updated a couple of libraries with conda, and have the same rather frustrating problem.
I have no idea how to debug this. The console where I start jupyter notebook shows nothing whatsoever. The only solution so far (as someone else mentioned) is to start with jupyter lab instead of notebook.
This looks like a bug, but I don’t even know how to start debugging…
FYI, jupyter notebook now works again on one of my machines after doing a conda update --all. I’m not sure what changed, though, as another machine still doesn’t work. Despite having the same lib versions!
Same experience, long time Win 10 user of Anaconda and Jupyter, till the thinks broke this week.
Has anyone heard of progress on this?
Just cost me a day trying uninstalls and chasing things until I found this thread. Thank you for the JupyterLab command line workaround. Probably the only thing I did NOT think to try, but at least am back on the rails, thanks to this community!
Same thing happend to me. After I did conda update --all jupyter notebook would not load anymore in any browser.
I got it working again by installing a different version of jupyter notebook in anaconda. (Click the gearwheel in the top right and go to “install specific version”. I changed it from 6.3.0 to 6.4.12). Hope this fixes it for you as well.