You can install additional packages at the beginning of your Valohai execution.
- Add a new cell at the top of your notebook
!pip install mylibrary mylibrary2 mylibrary3to the new cell to install 3 new packages during the execution
These packages will be installed every time you run the notebook on Valohai. You’ll have to wait for them to download and install at the beginning of each execution.
Using a custom Docker image allows you to have these packages preinstalled in the Docker image you’re using and avoid having to download them inside each execution.