Import torch errors after installed

Hello everyone,
When i use pip3 installed torch-1.9.0-cp36-cp36m-linux_aarch64.whl on xavier nx,jetpack 4.4.1, cuda 10.2.
I want check torch version,it appears errors as follows,
ubuntu@nx-desktop:~$ pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
ubuntu@nx-desktop:~$ python3
Python 3.6.9 (default, Mar 15 2022, 13:55:28)
[GCC 8.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import torch
Traceback (most recent call last):
File “”, line 1, in
File “/home/ubuntu/.local/lib/python3.6/site-packages/torch/init.py”, line 197, in
from torch._C import * # noqa: F403
ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory
And also when i installed torchvision-0.2.2.post3-py2.py3-none-any.whl with some errors,i want check torchvision.
It also appears errors as follows,

import torchvision
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘torchvision’
Can anyone help me?
Yours,Wade.

Hi @1392587422, can you try running this:

sudo apt-get install libopenblas-base libopenmpi-dev libomp-dev
1 Like