Currently, Jupyter saves my notebooks in the folder: ‘C:\Users\marc’
I want to know how to instruct Jupyter to save my notebooks in the folder: ‘E:\Apps\Jupyter\notebooks’,
and I would like to know where I can find more information about the line ‘c.NotebookApp.notebook_dir’ in my ‘jupyter_notebook_config.py’ file.
Here’s what I did (so that you can tell me what I did wrong): – I created a ‘jupyter_notebook_config.py’ file, following (or attempting to follow) the instructions in:
- Several StackOverflow postings and
- A Medium.com tutorial entitled, [Change Jupyter Notebook Startup Folder]
The command, ‘jupyter notebook --generate-config’, created a ‘jupyter_notebook_config.py’ at this path:
I moved the ‘jupyter_notebook_config.py’ to this path (based on my (mis) understanding of the Medium.com tutorial mentioned above:
I inserted the following line in the ‘jupyter_notebook_config.py’ file:
c.NotebookApp.notebook_dir = r’E:\Apps\Jupyter\notebooks’
and I placed that line mmediately below the following line in the ‘jupyter_notebook_config.py’ file,
# c.NotebookApp.notebook_dir = ‘’
Background info re my environment: I recently installed: ‘conda install anaconda=2021.11’ and I’m running Win 10 pro fully updated.
Any help would be appreciated. If possible, I’d appreciate it if someone could tell me the fix, and where I could learn more about the '#c.NotebookApp.notebook_dir = ’ line.
Try using double quotes for the directory path for the ‘c.NotebookApp.notebook_dir’ setting in your configuration file.
See this post:
You may also need to set the setting ‘c.ServerApp.root_dir’ instead in your configuration file, if you are using a new version of Jupyter greater than version 3.
Thank you so much for the suggestion. I didn’t see your response until just now, when I came back to this URL to post the solution I found. After checking here for several days, I gave up. Is there a way for me to set my account so that I get an email when someone posts a response to a question I post? If yes, what should I set my email filter to look for so that I see the email?
Now for the solution. I’m running Anaconda under Windows. So I had mistakenly thought I should use the Windows backslash format for file paths, e.g., ‘E:\Applications\Jupyter\notebooks’
That did not work. The following, on the other hand, did work:
c.NotebookApp.notebook_dir = ‘E:/Apps/Jupyter/notebooks’
Note that I replaced the Windows backslashes with forward slashes.
But again, thank you for making the effort to help me.
Thanks for the detailed reply to the anaconda community.
Is there a way for me to set my account so that I get an email when someone posts a response to a question I post? If yes, what should I set my email filter to look for so that I see the email?
We will reply to this question. After you’ve created a question, suggestion, etc., and posted it, you can view that thread and say, “When someone @mentions you by @username or replies to you, you’ll be notified.”
There is a selection item.
Here, if you select “Watching” an item that is normally “Normal”, if there is a reply or a post in the thread, the written content will be sent to your registered email address. will be taken.
for your information.