Most Deep-Live-Cam installation problems fall into a small number of categories: a missing system dependency (ffmpeg, Python 3.11), the wrong onnxruntime variant for your hardware, a missing or misplaced model file, or a macOS-specific package conflict. Work through the accordion below that matches your error message. If you are on macOS, read the macOS-specific entries as well — several issues only affect Apple Silicon setups.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/hacksider/Deep-Live-Cam/llms.txt
Use this file to discover all available pages before exploring further.
ffmpeg not found
ffmpeg not found
Deep-Live-Cam calls ffmpeg directly for all video operations and will refuse to start if it cannot find the binary on your If the command is not found, install ffmpeg for your platform:After installing, open a new terminal session so the updated
PATH. Confirm whether ffmpeg is installed by running:- Windows
- macOS
- Linux (Debian/Ubuntu)
Run the one-liner from the README in a PowerShell terminal:After installation, open a new terminal and run
ffmpeg -version to confirm it is on your PATH.PATH takes effect, then retry ffmpeg -version.Python version errors
Python version errors
Deep-Live-Cam requires Python 3.11. Versions below 3.9 are rejected at startup, and newer versions such as 3.13 are not compatible with some compiled dependencies.Check your active Python version:If the output is not Always create your virtual environment with
Python 3.11.x, install Python 3.11 from python.org/downloads or via your package manager.On macOS, if multiple Python versions are installed via Homebrew, call the version explicitly:python3.11 on macOS to avoid picking up the wrong interpreter:_tkinter missing (macOS)
_tkinter missing (macOS)
If you see an error like Then recreate your virtual environment to pick up the updated library:
ModuleNotFoundError: No module named '_tkinter' when launching the GUI on macOS, the Homebrew tkinter binding for Python 3.11 is missing or broken.Reinstall it with:Model loading errors
Model loading errors
Deep-Live-Cam requires two ONNX model files to be present in the Expected output:If either file is missing, download it from the HuggingFace repository and place it in the
models/ folder inside the repository before the application starts:GFPGANv1.4.onnxinswapper_128_fp16.onnx
models/ folder:All available models are listed at huggingface.co/hacksider/deep-live-cam.
onnxruntime GPU provider not found
onnxruntime GPU provider not found
Each hardware acceleration backend requires a specific After installing the correct variant, launch with the matching
onnxruntime variant. Installing the wrong variant (or leaving a conflicting one installed) causes the GPU provider to be silently skipped or to raise an import error.Uninstall any existing onnxruntime packages first, then install the correct one for your hardware:- NVIDIA (CUDA)
- Apple Silicon (CoreML)
- Apple Legacy (CoreML)
- Windows AMD/Intel (DirectML)
- Intel (OpenVINO)
--execution-provider flag, for example --execution-provider cuda.CUDA errors on NVIDIA GPU
CUDA errors on NVIDIA GPU
CUDA errors at runtime typically mean one of three things: CUDA Toolkit is not installed, the version does not match what onnxruntime-gpu expects, or the cuDNN binaries are not on your Then install the CUDA-compatible PyTorch and onnxruntime-gpu builds:Launch with:
PATH.Deep-Live-Cam requires:After installing cuDNN, add its bin directory to your system PATH. On Windows this is typically C:\Program Files\NVIDIA\CUDNN\v8.9\bin. On Linux, add the directory to LD_LIBRARY_PATH:Low FPS or slow real-time performance
Low FPS or slow real-time performance
If the live face swap runs below acceptable frame rates, try the following adjustments in order:
-
Switch to a GPU execution provider. CPU-only mode is significantly slower. Launch with
--execution-provider cuda(NVIDIA),--execution-provider coreml(Apple), or--execution-provider directml(Windows AMD/Intel). -
Reduce execution threads. Too many threads can cause contention. Try a lower value:
-
Disable the face enhancer. GFPGAN post-processing adds substantial per-frame cost. Uncheck the face enhancer in the GUI, or omit
face_enhancerfrom the--frame-processorargument in CLI mode. -
Limit max memory. If the process is paging due to insufficient RAM, cap its usage:
gfpgan / basicsr installation conflict (macOS)
gfpgan / basicsr installation conflict (macOS)
On macOS, Then apply the fix:Relaunch Deep-Live-Cam and enable the face enhancer to confirm it loads without error.
pip install -r requirements.txt can leave gfpgan and basicsr in a broken state due to conflicting build metadata. If the face enhancer crashes or fails to load, reinstall both packages directly from their GitHub repositories.First, tear down and recreate your virtual environment:Python version conflicts on macOS
Python version conflicts on macOS
Having multiple Python versions installed via Homebrew can cause the wrong interpreter to be selected when creating virtual environments or running scripts. Check which versions are installed:If you see versions other than 3.11 (such as 3.13), consider uninstalling them to eliminate ambiguity:Always create the virtual environment and run Deep-Live-Cam with the explicit
python3.11 command:NSFW filter blocking content
NSFW filter blocking content
Deep-Live-Cam includes a built-in content filter powered by opennsfw2 that automatically blocks processing of nudity, graphic violence, and other sensitive material. This is intentional and cannot be disabled without modifying the source code.If legitimate content is being incorrectly flagged, check that your source or target image does not contain partial nudity, graphic imagery, or other material the model classifies as sensitive. Use a different source image or target file.