Installing “DeepFaceLive” – Python application on Windows 11 : 2024 Update
So I’ve received numerous comments and questions on my previous video about installing DeepFace Live, including queries about installation errors and other issues. I apologize for not being able to respond to all of you individually. To help, I decided to reinstall DeepFace Live on Windows 11 and document the process to see if it works smoothly.
First, you need to download the application. Visit the GitHub repository for DeepFace Live, but note that this repository was archived on November 9, 2023. This means there are no recent updates, and it relies on older libraries. To get started, go to the code section and download the ZIP file. Then, extract the ZIP file.
Next, we’ll use Anaconda, a popular Python distribution platform. If you’re unfamiliar with Anaconda, please check out our earlier video for an introduction. Open the Anaconda prompt and create a new Python environment using Python 3.9. Ensure you use Python version 3.9, as the latest versions are not compatible with DeepFace Live. Once the environment is created, activate it. You should see the base name change to “deepfakelive,” indicating the environment is active.
After this, navigate to the folder where you have extracted the ZIP file. Download the requirement files and place them in the extracted folder. Now, run the requirements text on Anaconda. This step might take some time as it downloads and installs various files.
Once all required files are installed, it’s time to run DeepFace Live. Run the provided code, and do not forget to replace the placeholder link with the actual path to your DeepFace Live folder. For further assistance, refer to the mini video on the GitHub page, which provides detailed instructions for running DeepFace Live.
STEPS:
Installing Anaconda
1. Download and Install anaconda (https://www.anaconda.com/)
2. Open Anaconda Prompt
Installing Python 3.9 and Activating
1. conda create – -name deepfakelive python=3.9 (Creates an environment named deepfake with python 3.9)
2. conda activate deepfakelive (activates deepfakelive(base) in front will change to deepfake)
Navigate to the Extracted Folder
1. Download the files from the link below and extract it
2. On Anaconda go to
cd C:/Users…..
Install all the required libraries
1. pip install -r requirements.txt (make sure you put the requirements.txt inside the extracted folder)
Run DeepFaceLive
1. python main.py run DeepFaceLive –userdata-dir “C:\Users\………….\userdata”