Amazon SageMaker Studio Lab: Base packages?

Never a good sign if the very first activity in the Hugging Face NLP course ends in an runtime error:

At least one of TensorFlow 2.0 or PyTorch should be installed. To install TensorFlow 2.0, …

The install and import code in the supplied notebook are incomplete:

!pip install datasets evaluate transformers[sentencepiece]
from transformers import pipeline

when running it in Amazon SageMaker Studio Lab. What exactly needs to be installed?