Deep-Live-Cam requires a specific set of tools before you can install its Python dependencies. Python 3.11 is the only supported version — the project does not work with Python 3.12 or 3.13 due to incompatibilities in some dependencies. Follow the steps below to set up your environment on Windows, macOS, or Linux.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.
Prerequisites
Before cloning the repository, make sure the following tools are installed on your system:- Python 3.11 — the only supported version
- pip — bundled with Python; used to install Python packages
- git — needed to clone the repository
- ffmpeg — required for video processing; the application will not start without it
- Visual Studio 2022 Runtimes (Windows only) — required C++ runtime libraries
Install ffmpeg
- Windows
- macOS
- Linux (apt)
- Linux (dnf)
Run the following command in PowerShell to install ffmpeg automatically:
Install Visual Studio 2022 Runtimes (Windows only)
Download and install the Visual C++ Build Tools from Microsoft. These runtimes are required by several compiled Python packages that Deep-Live-Cam depends on.Installation
Install Python 3.11 (macOS only)
On macOS, use Homebrew to install the correct Python version and its tkinter package (required for the GUI):
If you get an error about
_tkinter missing when launching the app, reinstall the package with brew reinstall python-tk@3.11.Create a virtual environment
Using a virtual environment isolates Deep-Live-Cam’s dependencies from your system Python installation and avoids version conflicts.
- Windows
- macOS
- Linux
Install Python dependencies
With the virtual environment active, install all required packages:This installs packages including
insightface, onnxruntime, opencv-python, PySide6, numpy, and others listed in requirements.txt.Download the AI models
See Download and configure AI models for instructions on downloading the required ONNX model files and placing them in the
models/ folder.Reinstalling the virtual environment
If something goes wrong with your environment, remove it and start fresh:gfpgan or basicsr on macOS, reinstall them from source: