An error occurred while importing pytorch

An error occurred while importing pytorch.
I successfully installed pytorch,but when I import torch in python, It shows
Illegal instruction (core dumped).
When I tried it with sudo python command,It shows
No module named ‘torch’.
Please help~~

My version: jetpack:4.4.1 python 3.6.9 pytorch 1.7.0


This issue is usually caused by incompatible software.

Please noted that there is some dependency between the library.
Do you install the PyTorch package from this comment: