Skip to content

Lambda notebook in Google Colab

Kyle Rawlins edited this page Sep 27, 2023 · 4 revisions

Installation in Google Colab

It's straightforward to load and use the lambda notebook in a google colab notebook. To get this going do:

!pip install lambda-notebook

And then, since you can't change the kernel, execute the following import statement:

import lamb.auto

The first command ensures that the package and its dependencies are installed, and the second loads the same infrastructure as the lambda notebook kernel. After that import, and all the lambda notebook magics (%te, %lamb, and %%lamb) and infrastructure should be loaded and in the current namespace.

Clone this wiki locally