I have installed pytorch with command:
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch -y
Python complains regarding line import torch with message:
Could not find module 'C:\ProgramData\Anaconda3\envs\edx\lib\site-packages\torch\lib\caffe2_nvrtc.dll' (or one of its dependencies). Try using the full path with constructor syntax
This directory contains library caffe2_nvrtc.dll. What might be wrong and how to fix this error?