Trouble installing pytorch cuda WinError 126

Hi, I used to run torch cuda 11.6 in an anaconda environment and it worked perfectly. I had to uninstall and reinstall ananconda, and after reinstalling pytorch, I just couldn’t get it to work properly and kept running into the issue:

I used the following command to install pytorch:

conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia

Does anyone know how I could possible fix?