Free | No tracking | Every fact with a source|German and English

Error / Installation

Error loading c10.dll (WinError 126 / 1114)

PyTorch won't start because Windows can't find a required system library.

The message

OSError: [WinError 126] The specified module could not be found. Error loading "…\torch\lib\c10.dll" or one of its dependencies.

Affects: ComfyUI

Why is this happening?

PyTorch needs the Microsoft Visual C++ Runtime on Windows. If it's missing or outdated, loading c10.dll fails right away. ComfyUI itself points to this solution in the Portable package's startup file.

How to fix it

  1. Download the current Visual C++ Redistributable directly from Microsoft: https://aka.ms/vc14/vc_redist.x64.exe and install it.
  2. Restart the PC.
  3. Start ComfyUI again. If the error still appears, also update the NVIDIA driver.

Better not: Don't download individual DLL files from download sites or copy them to System32.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.