title: FileNotFoundError: Could not find module 'caffe2_nvrtc.dll' (or one of its dependencies). Try using the full path with constructor syntax
body: <p>I am using anaconda and created one virtual environment named <strong>myenv1</strong>. After activating my virtual environment, I have installed pytorch using following command.</p>
  <pre><code>conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
  
  </code></pre>
  <p>But if I am trying to import torch in a filename.py it's giving following error.</p>
  <pre><code> Could not find module 'C:\ProgramData\anaconda3\envs\myenv1\lib\site-packages\torch\lib\caffe2_nvrtc.dll' (or one of its dependencies). Try using the full path with constructor syntax.
  </code></pre>
  <p>After navigating to the above path which I am getting in the error console,I am able to see this <strong>caffe2_nvrtc.dll</strong> .</p>