Rudrabha / Wav2Lip

This repository contains the codes of "A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild", published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs
https://synclabs.so
10.85k stars 2.3k forks source link

HELPPP ERROR ModuleNotFoundError: No module named 'ffmpeg' #671

Open maslinka1313 opened 6 months ago

maslinka1313 commented 6 months ago

I DONT KNOW where to fing ffmpeg... please hel with this problem i beg you

ERROR: Could not find a version that satisfies the requirement mediapipe==0.8.11 (from versions: 0.9.1.0, 0.9.2.1, 0.9.3.0, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.5, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.13, 0.10.14) ERROR: No matching distribution found for mediapipe==0.8.11

ModuleNotFoundError Traceback (most recent call last) in <cell line: 39>() 37 from scipy.io.wavfile import read as wav_read 38 import io ---> 39 import ffmpeg 40

Miriam-Verkerk commented 6 months ago

Same error here! Sadly! I hope it can be fixed or maybe an explanation how to manually install ffmpeg using either !pip or !apt.

ERROR: Could not find a version that satisfies the requirement mediapipe==0.8.11 (from versions: 0.9.1.0, 0.9.2.1, 0.9.3.0, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.5, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.13, 0.10.14) ERROR: No matching distribution found for mediapipe==0.8.11

ModuleNotFoundError Traceback (most recent call last) ModuleNotFoundError: No module named 'ffmpeg'

Miriam-Verkerk commented 6 months ago

I just saw that Mediapipe updated a few of its packages/documents. Maybe that created this issue. Sadly I am not experienced enough to find out what it is exactly.

Miriam-Verkerk commented 6 months ago

I changed the version (in the end of the pip install line of ffmpeg mediapipe) to this:

!pip install ffmpeg-python mediapipe==0.10.14

This did solve the problem for me as it looks like mediapipe has a new version

ai-rtist commented 6 months ago

pip install torch==2.2.0+cu118 torchvision torchaudio -f https://download.pytorch.org/whl/cu118/torch_stable.html

Resolved!