Skip to content Skip to sidebar Skip to footer

Jupyter Giving 404: Not Found Error On Windows 7

I installed anaconda PYTHON 2.7 64bit on Win 7 and then updated using conda update conda Later installed conda install jupyter When I tried to run from the same drive on window

Solution 1:

I found a simple cause of this could be trying to run Jupyter from the root of a drive - running it from C:\ failed. Cricboy007's suggestion to create a folder (no particular name, I called mine notebook) and run Jupyter once you've used cd to make that the working directory worked for me.

Solution 2:

I was having the same 404 error and solved it by doing the following:

right click the jupyter notbook shortcut > properties > change the value of "Start in:" to a path within your Anaconda install (e.g., D:\Anaconda2\Notebooks).

If you are running from the command line, changing directory to within the anaconda folder should work too

Solution 3:

Solution 4:

Manually change the directory to Anaconda2. eg. cd Anaconda2 then run - jupyter notebook

Solution 5:

I meet this case.when I try to open jupyterlab,Anaconda tells me this:

[I 10:01:41.587 LabApp] The port 8888is already in use, trying another port.
[I 10:01:41.587 LabApp] The port 8889is already in use, trying another port.
[I 10:01:41.588 LabApp] The port 8890is already in use, trying another port.
[I 10:01:41.608 LabApp] JupyterLab beta preview extension loaded from D:\Anaconda\install\lib\site-packages\jupyterlab
[I 10:01:41.608 LabApp] JupyterLab application directory is D:\Anaconda\install\share\jupyter\lab
[W 10:01:41.619 LabApp] Error loading server extension jupyterlab
Traceback (most recent calllast):
File "D:\Anaconda\install\lib\site-packages\jupyterlab\commands.py", line 321, in __init__
self._run(['node', 'node-version-check.js'], cwd=HERE, quiet=True)
File "D:\Anaconda\install\lib\site-packages\jupyterlab\commands.py", line 1165, in _run
proc = Process(cmd, **kwargs)
File "D:\Anaconda\install\lib\site-packages\jupyterlab\process.py", line 73, in __init__
self.proc = self._create_process(cwd=cwd, env=env)
File "D:\Anaconda\install\lib\site-packages\jupyterlab\process.py", line 131, in _create_process
cmd[0] = which(cmd[0], kwargs.get('env'))
File "D:\Anaconda\install\lib\site-packages\jupyterlab\jlpmapp.py", line 59, in which
raise ValueError(msg)
ValueError: Please install nodejs 5+and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.

During handling of the above exception, another exception occurred:

Traceback (most recent calllast):
File "D:\Anaconda\install\lib\site-packages\notebook\notebookapp.py", line 1454, in init_server_extensions
func(self)
File "D:\Anaconda\install\lib\site-packages\jupyterlab\extension.py", line 111, in load_jupyter_server_extension
info = get_app_info(app_dir)
File "D:\Anaconda\install\lib\site-packages\jupyterlab\commands.py", line 244, in get_app_info
handler = _AppHandler(app_dir, logger)
File "D:\Anaconda\install\lib\site-packages\jupyterlab\commands.py", line 324, in __init__
raise ValueError(msg)
ValueError: Please install nodejs 5+and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.
[I 10:01:41.709 LabApp] Serving notebooks fromlocal directory: C:\Users\user
[I 10:01:41.709 LabApp] 0 active kernels
[I 10:01:41.710 LabApp] The Jupyter Notebook isrunningat:
[I 10:01:41.710 LabApp] http://localhost:8891/?token=a3d823839f1107857f79c15ae9d6a109b046b98621186073
[I 10:01:41.710 LabApp] Use Control-C to stop this server and shut down all kernels (twice toskip confirmation).
[C 10:01:41.711 LabApp] 

Copy/paste this URL into your browser when you connectfor the firsttime,
to login with a token:
http://localhost:8891/?token=a3d823839f1107857f79c15ae9d6a109b046b98621186073
[I 10:01:41.761 LabApp] Accepting one-time-token-authenticated connection from ::1
[W 10:01:41.833 LabApp] 404GET/lab?token=e0fc453fcb7d3a4a22f7042bacf336bea5e90678af55b72f (::1) 72.00ms referer=None

and chrome shows 404:Not Found.when I open the jupyter in anaconda,I also meet case like that. so I update jupyterlab and jupyter,then all become good.Therefore,this case might be version problem.

Post a Comment for "Jupyter Giving 404: Not Found Error On Windows 7"