Installing new libraries in Machine Learning Studio Jupyter Notebook RRS feed

  • Question

  • Hello,

    I was trying to install a deep learning related librarie in ML Studio Jupyter notebook and it was ok. The command I used is:

    "!pip install keras"

    "!pip install keras --upgrade"

    I used "!ls" and found it was actually installed in /env folder

    However, when I reopened the notebook in the other day. I found the library was removed and everything was back to its initial state. So I wonder will ML Studio python notebook reinitialize/reset the environment everyday? Is there a way we can retain our installed 3rd party libraries?

    Thanks a lot!


    Friday, June 17, 2016 1:39 PM


  • There isn't any way to retain the installed libraries.  We're looking into how we can allow you to specify your environment and have it be recreated each time you come back.

    For now I'd recommend that you leave the !pip install ... commands at the top of your notebook, that way you can simple re-execute them and get back to the same environment.  You could also try keeping a browser open and active in the notebook and as long as your computer doesn't go to sleep we should keep everything alive - but that may obviously be impractical :)


    Tuesday, June 21, 2016 6:07 PM