I am trying to configure Jupyter Notebook to point to a new default and preferred directory. I have edited the jupyter_notebook_config.py but this causes Jupyter when launched to close and console window to also close.
I would like to see what the console error is, so would like to know a way to the keep the console window open when the Jupyter closes or to find the log file so I can debug the issue.
The following is the config that I have added
c.NotebookApp.notebook_dir =r’D:\GIS_Python’
c.ServerApp.notebook_dir =r’D:\GIS_Python’
It is the next lines when uncommentated that causes Jupyter to crash
c.NotebookApp.preferred_dir = r’D:\GIS_Python’
and
c.ServerApp.preferred_dir =r’D:\GIS_Python’
I have also tried escaping the back slash \ but that also fails.