The first step in the original script throws an error.
It is resolved by first importing the top 4 dependencies and then install the packages as shown below
Import dependencies for all sample AI applications (again, to test the environment)
import os
import numpy
import pandas
import torch
Install packages (comment if not required)
!pip install -Uqq ipywidgets fastai fastbook