OpenTalker / video-retalking

[SIGGRAPH Asia 2022] VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild
https://opentalker.github.io/video-retalking/
Apache License 2.0
6.02k stars 895 forks source link

ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects #250

Open AugusttoDaniel opened 2 weeks ago

AugusttoDaniel commented 2 weeks ago

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [7 lines of output] running bdist_wheel running build running build_py running build_ext

  ERROR: CMake must be installed to build dlib

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dlib Running setup.py clean for dlib Failed to build dlib ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

only-ns commented 1 week ago
conda create -n video_retalking python=3.10 -y
conda activate video_retalking
conda install ffmpeg -y
conda install cmake==3.25.2 -y
pip3 uninstall torch torchvision torchaudio -y
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
pip install -r requirements.txt
AugusttoDaniel commented 1 week ago

conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia Fica carregando infinito tem 4h ja

AugusttoDaniel commented 1 week ago

image

araya commented 1 week ago

I had the some issue..wait to fix

JJayasri commented 6 days ago

if you are using windows machine, you can checkout this github (https://github.com/Cfuhfsgh/Dlib-library-Installation) and download,unzip them & install this file in the provided path "dlib-master\dlib-19.19.0-cp38-cp38-win_amd64.whl (pip install dlib ....whl) @araya @AugusttoDaniel

mrgab0 commented 5 days ago

@JJayasri in fact i already install vstudio with c++ compliling tools, clang compiler, cmake, windows 10 sdk and every time i having this issue!. some idea here? thanks in advance

JJayasri commented 4 hours ago

@mrgab0 I think those are not needed once you install with the github reference which I shared above,what's the issue ,can you share the screenshot?