Get list of installed Python packages
Note: the !
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:
!pip install --user <package name>
Comments
0 comments
Please sign in to leave a comment.