深度学习虚拟机无法运行jupyter. [英] Deep Learning Virtual Machine can't run jupyter "No such notebook dir: ''/dsvm/Notebooks''"
问题描述
我已经使用深度学习虚拟机(Microsoft Azure)设置了虚拟机.
I've set up a vm with Deep Learning Virtual Machine (Microsoft Azure).
通常,由于ssh等,我连接到了虚拟机
Normally, I connect to the vm thanks to ssh etc
然后我通过编写jupyter notebook --no-browser
来运行jupyter.
Then I run jupyter by writing jupyter notebook --no-browser
.
但是这次我无法运行jupyter notebook,因为有此消息Bad config encountered during initialization: "No such notebook dir: ''/dsvm/Notebooks''"
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''"
我该如何解决?
感谢您的帮助!
推荐答案
我假设您正在尝试运行Jupyter Notebook,并且鉴于此目标,建议您执行以下步骤:
I presume you are trying to run Jupyter Notebook and with that goal in mind, I suggest you follow the following steps:
- 将笔记本移动到〜/notebooks/
- 从Azure仪表板中找到VM的公共IP地址
- 在网络浏览器中访问 https://your_public_ip_address:8000 并使用vm登录凭据登录 >
- 您应该能够查看〜/notebooks/ 中的所有文件
- Move your notebook to ~/notebooks/
- Find your Pubic IP Address of your VM from Azure Dashboard
- Access https://your_public_ip_address:8000 in your web browser and log in using your vm login credentials
- You should be able to see all the files you have in ~/notebooks/
我假设出于安全原因,Azure定义了此方法,以防止人们在未进行身份验证的情况下使用开放端口.希望这会有所帮助!
I presume this method is defined by Azure for security reasons, to prevent people from having an open port without authentication. Hope this helps!
这篇关于深度学习虚拟机无法运行jupyter.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!