hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
39.4k stars 5.75k forks source link

'Nonetype' object has no attribute 'configure'/ffmpeg not installed but IS installed #159

Closed vomitwolf closed 1 week ago

vomitwolf commented 2 months ago

warnings.warn(msg, RuntimeWarning) [DLC.CORE] ffmpeg is not installed. Traceback (most recent call last): File "/Users/vomitwolf/Deep-Live-Cam/run.py", line 6, in core.run() File "/Users/vomitwolf/Deep-Live-Cam/modules/core.py", line 237, in run if not pre_check(): ^^^^^^^^^^^ File "/Users/vomitwolf/Deep-Live-Cam/modules/core.py", line 158, in pre_check update_status('ffmpeg is not installed.') File "/Users/vomitwolf/Deep-Live-Cam/modules/core.py", line 166, in update_status ui.update_status(message) File "/Users/vomitwolf/Deep-Live-Cam/modules/ui.py", line 137, in update_status status_label.configure(text=text) ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'configure'

WillHemmens commented 2 months ago

ffmpeg is not installed.

grizzzlyzzzombie commented 2 months ago

same issue image image

Dimarom4 commented 2 months ago

Yes, I have this problem too. I tried to install it here https://www.youtube.com/watch?v=OlNWCpFdVMA and here https://phoenixnap.com/kb/ffmpeg-windows изображение_2024-08-11_164816565

изображение_2024-08-11_164759315

Samwellwang commented 2 months ago

execute "iex (irm ffmpeg.tc.ht)" in your powershell and install ffmpeg ,then restart your ide ,it will work

Dimarom4 commented 2 months ago

execute "iex (irm ffmpeg.tc.ht)" in your powershell and install ffmpeg ,then restart your ide ,it will work

what type of ffmpeg i need to install? image

Dimarom4 commented 2 months ago

nothing has changed image

Dimarom4 commented 2 months ago

I don't know what I did, but now app starts. I changed PATH. Now its not C:\ProgramData\chocolatey\bin\ffmpeg.exe, its C:\ProgramData\chocolatey\bin

RitikJ06 commented 2 months ago

I had the same issue, i installed ffmpeg from here: https://www.ffmpeg.org/download.html#build-windows and added the ffmpeg.exe file to the PATH environment variable and it worked.

Samwellwang commented 2 months ago

i dont know what i do, but now app starts. I changed PATH. Now its not C:\ProgramData\chocolatey\bin\ffmpeg.exe, its C:\ProgramData\chocolatey\bin

You have to ensure than ffmpeg in your enviroment path and that it response when executed 'ffmpeg' in your powershell

cyc-hahaha commented 2 months ago

i dont know what i do, but now app starts. I changed PATH. Now its not C:\ProgramData\chocolatey\bin\ffmpeg.exe, its C:\ProgramData\chocolatey\bin

You have to ensure than ffmpeg in your enviroment path and that it response when executed 'ffmpeg' in your powershell

yes, It worked !!!!!!!!!!