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
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
Manually change the directory to Anaconda2. eg. cd Anaconda2 then run - jupyter notebook
What I did:
and it resolved all the issues.
You must first set the environment variables:
C:\Windows\system32>conda create --name test_jupyter
Proceed([y]/n)? y
C:\Windows\system32>activate test_jupyter
(test_jupyter) C:\Windows\system32> jupyter notebook
it will appear in your default browser..
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.
Had the same issue from command line (Windows 10). Here is what I did to resolve it: