Numpy is not avaiable when transfrom Torch tensor to numpy

I have learned that Numpy 2 will cause such problem, so I have
Pytorch 2.5.1
Numpy 1.26.4
Python 3.12.4

It has error when I try to use

.numpy()

What kind of error are you seeing?