title: Found no NVIDIA driver on your system error on WSL2 conda environment with Python 3.7
body: <p>I have a Nvidia 1080Ti GPU, and I want to run Pytorch on WSL2, but I got error &quot;Found no NVIDIA driver on your system&quot; but I did installed the NVIDIA driver. Here is the step I did.</p>
  <ol>
  <li><p>I installed WSL2, and installed NVIDIA driver for Cuda on WSL from GeForce Driver:
  <a href="https://developer.nvidia.com/cuda/wsl/download" rel="nofollow noreferrer">https://developer.nvidia.com/cuda/wsl/download</a></p>
  </li>
  <li><p>I activate a clean conda environment with Python 3.7</p>
  </li>
  <li><p>Then I run the Pytorch installation:
  conda install pytorch torchvision cudatoolkit=10.2 -c pytorch</p>
  </li>
  </ol>
  <p>Then the error occurred saying Found no NVIDIA driver. I came across a post on Pytorch forum, and someone did get it to run in a similar settings: Ubuntu 18.04 + Conda + Pytorch
  <a href="https://discuss.pytorch.org/t/found-no-nvidia-driver-on-your-system-but-its-there/35063/4" rel="nofollow noreferrer">https://discuss.pytorch.org/t/found-no-nvidia-driver-on-your-system-but-its-there/35063/4</a></p>
  <p>I don't have multiple GPUs, so I don't know how to get my driver recognized in WSL2. Thank you for any thoughts!</p>