Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve 404 error of jupyter lab

I installed Anaconda on my windows 10. and updated all packages. now I am trying to open Jupyter lab by cmd.

when I type this command in cmd: jupyter lab it just opens a tab in google chrome that shows:

"404 : Not Found You are requesting a page that does not exist!" enter image description here

could you please help me to solve this problem to be able to open jupyter lab

thanks

like image 260
Mahdi J. Avatar asked Feb 23 '18 12:02

Mahdi J.


People also ask

Why is my JupyterLab not opening?

Jupyter doesn't load or doesn't work in the browserTry disabling any browser extensions and/or any Jupyter extensions you have installed. Some internet security software can interfere with Jupyter. If you have security software, try turning it off temporarily, and look in the settings for a more long-term solution.

How do I reset JupyterLab?

You can restart your Jupyter Kernel by simply clicking Kernel > Restart from the Jupyter menu. Note: This will reset your notebook and remove all variables or methods you've defined! Sometimes you'll notice that your notebook is still hanging after you've restart the kernel. If this occurs try refreshing your browser.

How do I get rid of error messages in Jupyter notebook?

To solve this issue you have to just run the cell first that has import pandas as pd statement. Then run the other cell. It will clearly remove the nameerror name pd is not defined error. You can see you are now not getting any error.


1 Answers

I did:

jupyter serverextension enable --py jupyterlab --user

and

conda install -c conda-forge nodejs

It's running now.

like image 192
user2129887 Avatar answered Oct 23 '22 18:10

user2129887