I think the issue might be due to how venv and pip handle temporary files on Windows. Personally, I’d recommend switching to Conda instead — it’s more stable for installing PyTorch on Windows and avoids many of these file-locking or permission issues.