Can't import torchvision, but I have it installed?

Hello I’m running python on a PC (via WSL2), and I can’t seem to figure out why I can’t import torchvision. When I try I get the following message:

/home/cq/mambaforge/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot open shared object file: No such file or directory
warn(f"Failed to load image Python extension: {e}")

I’m running
Python 3.9.13
pytorch : 1.12.1
torchvision: 0.13.1

Any guidance you can give me would be appreciated.

The warning is raised from here when torchvision tries to import the "image" library but fails. Most likely you won’t be able to use the serialization methods from torchvision.io but should be able to use other methods.