Hi,
I just got a very strange problem:
I used the commands: “print(torch.  version  )
print(torch.version.cuda)
print(torch.bac:sob:kends.cudnn.version())”, the output were:
0.4.1.post2 (PyTorch version)
9.0.176 (CUDA version)
7.1.2 (cuDNN version)
I also used the “nvcc --version”, the results were:

It was very strange, it seems that the CUDA version installed in Linux system is 9.0.176, and the CUDA that the PyTorch needed is also 9.0.176, but, the “cuda.is_available()” still returns "  False  ".
Could anyone help me with this? Many thanks!
Environment

PyTorch Version (e.g., 1.0): 0.4.1.post2
OS (e.g., Linux): Linux
Python version: 3.6.5 : : Anaconda, Inc.
CUDA/cuDNN version: 9.0.176 (CUDA version); 7.1.2 (cuDNN version)