When I import pytorch, ImportError: libc10.so: cannot open shared object file: No such file or directory

Hello,

ImportError: libc10.so: cannot open shared object file: No such file or directory

What am I supposed to do?

Thank you.

Hi,

Which PyTorch package do you install?
It’s recommended to use the package from the below topic:

With that package, we can locate the libc10.so file correctly.

$ sudo find / -iname libc10.so
find: ‘/run/user/1000/gvfs’: Permission denied
/home/nvidia/.local/lib/python3.6/site-packages/torch/lib/libc10.so

Thanks.

1 Like

Hello,

I’m using nx emmc module,
I have installed jetpack component using below command.
command : apt depends nvidia-jetpack | awk ‘{print $2}’ | xargs -I {} sudo apt install -y {}

I have installed PyTorch v1.7.0

  • JetPack 4.4 (L4T R32.4.3) / JetPack 4.4.1 (L4T R32.4.4) / JetPack 4.5 (L4T R32.5.0) / JetPack 4.5.1 (L4T R32.5.1) / JetPack 4.6 (L4T R32.6.1)

What am I supposed to do?

Thank you.

Hi,

Could you check if the library is installed in your environment first?

$ sudo find / -iname libc10.so

Thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.