Import torch, shows error on xavier that called libcurand.so.10 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 setup.py install

its shows this error:

Traceback (most recent call last):
  File "setup.py", line 12, in <module>
    import torch
  File "/home/nvidia/ih/lib/python3.6/site-packages/torch/__init__.py", line 189, in <module>
    _load_global_deps()
  File "/home/nvidia/ih/lib/python3.6/site-packages/torch/__init__.py", line 142, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libcurand.so.10: 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 “libcurand.so.10” file didnt installed on my xavier, how can i install this ?

Hi,

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 libcurand.so.10 in the below folder on JetPack4.4.1:

/usr/local/cuda-10.2/targets/aarch64-linux/lib/libcurand.so.10

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

Thanks.