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

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