Problems after installing pytorch on windows

I have installed pytorch in a conda environment using

conda install pytorch torchvision cudatoolkit=10.1 -c pytorch

However after that I try doing import torch
and I get the following error

Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.  
It can be downloaded at                                 
Traceback (most recent call last):                                                                                       
 File "<stdin>", line 1, in <module>                                                                                     
File "C:\Users\aliag\anaconda3\envs\pytorchPractice\lib\site-packages\torch\", line 127, in <module>           
raise err                                                                                                           
OSError: [WinError 126] 指定されたモジュールが見つかりません。 
Error loading "C:\Users\aliag\anaconda3\envs\pytorchPractice\lib\site-packages\torch\lib\asmjit.dll" 
or one of its dependencies.                                                 

I would really appreciate some help to correct this problem

I found the solution. I had not adequately installed CUDA. When I did it again, the problem dissapears