Get list of installed Python packages
! operator can be used within Notebooks to execute a terminal command. This is known as "line magic".
Install a new package
You can use
pip install to install any Python package that is not already in EarthAI Notebook.
!pip install <package name>
However, note that the code above will only install the package in your current EarthAI Notebook environment - when you shut down the server and relaunch, this package is no longer installed. To install a package and have it persist, use the following command instead:
!conda run -n earthai pip install <package name>