If you’ve installed torchvision via pip or conda, it might have accidentally downgraded PyTorch in this process (and expects CUDA9 to be present).
Could you print the current PyTorch version (print(torch.__version__)) and check, if my assumption is correct?
I would recommend to build torchvision from source after your PyTorch build.