Pytorch install-JetPack4.x , ImportError: cannot import name '_has_torch_function'

I followed the documentation and created the virtual environment using “python3 -m virtualenv -p python3 <chosen_venv_name>” The PyTorch 1.10.0 wheel file I used came from:
https://forums.developer.nvidia.com/t/pytorch-for-jetson/72048

I also tried installing other versions of PyTorch, but they all resulted in the same issue. This problem has been bothering me for a long time.