How to install extra packages in Google Colaboratory's VM?
Yup. You can use pip
or apt
to install packages as needed.
One example for pip
is in the welcome notebook:
!pip install -q matplotlib-venn
from matplotlib_venn import venn2
venn2(subsets = (3, 2, 1))
An example for apt
is in the snippets:
!apt update && apt install -y libfluidsynth1
In the case of tdqm, !pip install tqdm
worked for me.