How To Resolve Refusing to serve hidden directory, via 404 Error with Jupyter notebook.
- By : Mydatahack
- Category : Infrastructure, Installation and Configuration
- Tags: Jupyter Notebook, Troubleshoot
I hate 404 errors. Whenever I get it, I stare at the screen with disdain because it cannot be fixed most of the time. What cannot be found cannot be found. But, fixing this one is easy!
By default, Anaconda serves notebooks from local directory: C:\ in Windows. To resolve this error, you need to change the startup folder.
(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.
(3) Find c.NotebookApp.notebook_dir = uāā and add the path for the start folder that is not a hidden directory (for example, C:\User\username\).
This should fix the error!