Can not run the code from chapter 5: tensor.H not supported

!pip install fastai2

from fastai2.vision.all import *
path = untar_data(URLs.PETS)

Gives me: tensor.H is only supported on matrices (2-D tensors). Got 1-D tensor.

Usage of ‘fastai2’ naming is deprecated , use ‘fastai’

‘from fastai.vision.all import *’

See GitHub repo for current version of the fastbook notebooks.

Chapter 5.