Import torch, shows error on xavier that called problem

I try to install torchvision after i install pytorch on xavier.I followed the instructions on :PyTorch for Jetson - version 1.7.0 now available

but when i try to install torchvision with this step :
python3 install

its shows this error:

Traceback (most recent call last):
  File "", line 12, in <module>
    import torch
  File "/home/nvidia/ih/lib/python3.6/site-packages/torch/", line 189, in <module>
  File "/home/nvidia/ih/lib/python3.6/site-packages/torch/", line 142, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/usr/lib/python3.6/ctypes/", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: cannot open shared object file: No such file or directory

I have nvcc -V output :

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sun_Aug_12_21:08:25_CDT_2018
Cuda compilation tools, release 10.0, V10.0.117

i think the “” file didnt installed on my xavier, how can i install this ?


It seems that you are using an older JetPack version.
Please noted that the prebuilt PyTorch package is for JetPack4.4.1 or JetPack4.4.

Please upgrade your device to JetPack 4.4.1 first.
We can find the in the below folder on JetPack4.4.1:


If you want to use another JetPack version, please install the corresponding package from the topic instead.