WinError 126 when import torch

Based on this post from @peterjc123 you might still have the CUDA version installed, so I would recommend to run the uninstall command a few times and check the current environment for another PyTorch installation.