Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

How to change the root directory for the Jupyter notebook in Windows?

$
0
0

I can't «persuade» Jupyter to use another directory then the default one for storing its projects.

I edited the following parameter of the jupyter_notebook_config.py file (I tried all three variants one-by-one, none worked):

c.NotebookApp.notebook_dir = 'D:\\_Travail\\Python\\Jupyter_projects'c.NotebookApp.notebook_dir = r'D:\_Travail\Python\Jupyter_projects'c.NotebookApp.notebook_dir = 'D:/_Travail/Python/Jupyter_projects'

Besides, I tried to rename the config-file (and names of parameters therein) exactly as described in the only answer in this thread (I also have this message 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. in console).

I wonder if it is important but the disk D: where I want files stored is a network drive connected to another machine on LAN.


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>