深度学习虚拟机无法运行jupyter. [英] Deep Learning Virtual Machine can't run jupyter "No such notebook dir: ''/dsvm/Notebooks''"

查看:392
本文介绍了深度学习虚拟机无法运行jupyter.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用深度学习虚拟机(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:

  1. 将笔记本移动到〜/notebooks/
  2. 从Azure仪表板中找到VM的公共IP地址
  3. 在网络浏览器中访问 https://your_public_ip_address:8000 并使用vm登录凭据登录
  4. >
  5. 您应该能够查看〜/notebooks/
  6. 中的所有文件
  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/

我假设出于安全原因,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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆