Error with Path('my_path')

I am using colab and trying to run the command

from 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!