Deep Learning Virtual Machine can't run jupyter “No such notebook dir: ''/dsvm/Notebooks''”

南笙酒味 提交于 2019-12-11 09:03:22

问题


I've set up a vm with Deep Learning Virtual Machine (Microsoft Azure).

Normally, I connect to the vm thanks to ssh etc

Then I run jupyter by writing jupyter notebook --no-browser.

But this time I have can't run jupyter notebook because there is this message Bad config encountered during initialization: "No such notebook dir: ''/dsvm/Notebooks''"

How can I fix that ?

Thanks for your help !


回答1:


I presume you are trying to run Jupyter Notebook and with that goal in mind, I suggest you follow the following steps:

  1. Move your notebook to ~/notebooks/
  2. Find your Pubic IP Address of your VM from Azure Dashboard
  3. Access https://your_public_ip_address:8000 in your web browser and log in using your vm login credentials
  4. You should be able to see all the files you have in ~/notebooks/

I presume this method is defined by Azure for security reasons, to prevent people from having an open port without authentication. Hope this helps!




回答2:


It worked for me :

jupyter notebook --notebook-dir=/home/$USER/notebooks --no-browser


来源:https://stackoverflow.com/questions/49700824/deep-learning-virtual-machine-cant-run-jupyter-no-such-notebook-dir-dsvm-n

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!