Error with Path('my_path')

I am using colab and trying to run the command

from fastai2.vision.all import  * 
path = Path('/content/global_wheat_detection')

and I get the following error
tensor.H is only supported on matrices (2-D tensors). Got 1-D tensor ??
any help!

the error was with the syntax fastai2 should be fastai!
and I copied it from several notebooks in Kaggle this is really annoying!
https://www.kaggle.com/code/muellerzr/fastai2-starter-kernel/notebook
https://www.kaggle.com/code/avirdee/fastai2-dicom-starter