OSError: [WinError 127] The specified procedure could not be found
While importing torch (import torch) I'm facing the following error message:
OSError: [WinError 127] The specified procedure could not be found. Error loading &quot;C:\Users\myUserName\anaconda3\lib\site-packages\torch\lib\jitbackend_test.dll&quot; or one of its dependencies.
I tried the suggestion from this article but without success.
Any ideas how to fix it?
My environment:

NVIDIA GeForce GTX 1650
Windows 11
Cuda 11.5
Conda 4.10.3
Python 3.8.5
Torch 1.10
Microsoft Visual C++ Redistributable installed (https://aka.ms/vs/17/release/vc_redist.x64.exe)


Fortunately, after extensive research, I found a solution.
Someone suggested me to create a new conda environment. And that worked for me!
Solution:

create new conda env by: conda create --name new-env
install python: conda install python=3.8.5
run: conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
test cuda: import torch; print(torch.version.cuda); print(torch.cuda.is_available())

