Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jupyter giving 404: Not Found error on WIndows 7

Tags:

python

jupyter

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 windows using

jupyter notebook

it launches on Firefox and states

404: Not Found

On the command it says

Refusing to serve hidden directory via 404 Error

What needs to be done to get it launched?

Update: The anaconda install has a shortcut to run jupyter and it works that way - but gives 404 for "jupyter notebook":

d:\Anaconda\Scripts/ipython-script.py" notebook
like image 527
user5331677 Avatar asked Oct 09 '15 06:10

user5331677


People also ask

How to fix Error 404 in Jupyter Notebook?

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

What does 404 not found mean&how to fix it?

Error 404 not found - What does it mean & how to fix it! - IONOS You know the page: you click on a link, but instead of getting the site you want, an error pops up indicating that the requested page is not available. Something along the lines of '404 Not Found'. A 404 error is the standardized HTTP status code.

How do I create a Jupyter Notebook config file?

(1) Open cmd and run the command below to generate a config file. (2) The command creates a file to C:\User\username\.jupyter\jupyter_notebook_config. Go to the folder and open the config file.

Why can't I access Jupyter on my HDInsight gateway?

Restricting access with NSG rules will still allow you to directly access Apache Ambari and other services using the IP address rather than the cluster name. However, when accessing Jupyter, you could see a 404 "Not Found" error. If you have given your HDInsight gateway a customized DNS name other than the standard xxx.azurehdinsight.net.


2 Answers

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.

like image 55
David Burton Avatar answered Oct 06 '22 00:10

David Burton


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

like image 39
DVL Avatar answered Oct 05 '22 23:10

DVL