python - Error after setting notebook_dir in jupyter_notebook_config: No such notebook dir -
when setting notebook_dir in jupyter_notebook_config.py:
c.notebookapp.notebook_dir = '~/my/notebook/dir'   and starting notebook with
jupyter notebook   i error claims rightfully path jupyter tries use not exist. path jupyter tries use is:
/path/to/current/directory/~/my/notebook/dir   i.e.
$(pwd -p)/$notebook_dir   which not existing path in general.
i can use
jupyter notebook --notebook-dir=~/my/notebook/dir   which works normal.
therefore, how tell jupyter notebook should not add current directory notebook directory path (when using config-file)?
 
 
Comments
Post a Comment