Thomas Simonini
Thomas Simonini

Reputation: 93

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

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 !

Upvotes: 1

Views: 710

Answers (2)

Vladimir
Vladimir

Reputation: 412

It worked for me :

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

Upvotes: 1

Ajay Shekar
Ajay Shekar

Reputation: 21

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!

Upvotes: 2

Related Questions