Failed building wheel for insightface – DeepLiveCam

If you are facing the error “Failed building wheel for insight face,” here is how you can quickly fix it. Since we could not install insight face with pip install insightface, we will manually install it using a pre-made wheels. Go to the GitHub page (from the link below) and download the insightface wheel. Please download the whell as per your python version for example 310 indicates for python 3.10 and so on. Anyway, click on it, and then click the Raw file.

Now open Anaconda and activate environment where you want to install insightface. For DeepLiveCam Type conda activate DeepLiveCam, and the environment will be activated. Now copy the address where you have kept the inisghtface wheel. Then on the CMD type cd, and paste the address. Now copy the full name of the insightface wheel (incluging .whl) and on the cmd type pip install and the full name of insightface wheel. This will download all the necessary dependencies for insight face, without any issue.

After this, you can navigate to your project folder and install the requirements using pip install -r requirements.txt.

Thank you very much.






SUBSCRIBE

SUBSCRIBE

Welcome to Hey, Let's Learn Something!

Please sign up here to receive the latest updates on our blogs, tutorials and download section :)

Thank you for subscribing :)