To ensure that dependencies are installed before we run a notebook, it is common to see a bunch of
pip install ,
apt-get commands at the beginning.
DeepNote offers an elegant way to manage these installation scripts with the
init.ipynb, so we could keep our main notebook file clean and ensure that the dependencies are installed every time we spin up the virtual machine.
This works well when the number of packages are relatively small and when we have to experiment on different packages. However…