Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

[SOLVED]How to solve "Please make sure libcudnn_cnn_infer.so.8 is in your library path!" (WSL Ubuntu)

$
0
0

When I try to run a PyTorch program, it fails:

Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directoryPlease make sure libcudnn_cnn_infer.so.8 is in your library path!Aborted

When I did apt-get for the cuda packages, and it was in a different directory than the library path. I copied the file and tried to paste it in the library path: /usr/lib/wsl/lib.

Turned out, the folder was read-only, and no matter what I did (e.g. chmod), it stayed that way. How should I edit the library path if the path is read-only?

***If I am missing any info, please ask


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>