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
39k stars 5.65k forks source link

AttributeError: 'NoneType' object has no attribute 'configure' #476

Closed RwOnke closed 1 month ago

RwOnke commented 1 month ago
  1. Install all modules successfully
  2. Run python3 run.py --execution-provider cuda --execution-threads 60 --max-memory 60
  3. Error made

Specs: Windows 11 Pro 23H2 Galax RTX 3060 i5 10400F overclocked Secure boot off ASUS B560m plus wifi motherboard 16GB of ram 3000mhz Revi OS (Optimized for speed and gaming)

Err: python3 run.py --execution-provider cuda --execution-threads 60 --max-memory 60 [DLC.CORE] ffmpeg is not installed. Traceback (most recent call last): File "C:\Users\swagmaster24\githubstuff\Deep-Live-Cam\run.py", line 6, in core.run() File "C:\Users\swagmaster24\githubstuff\Deep-Live-Cam\modules\core.py", line 240, in run if not pre_check(): File "C:\Users\swagmaster24\githubstuff\Deep-Live-Cam\modules\core.py", line 162, in pre_check update_status('ffmpeg is not installed.') File "C:\Users\swagmaster24\githubstuff\Deep-Live-Cam\modules\core.py", line 170, in update_status ui.update_status(message) File "C:\Users\swagmaster24\githubstuff\Deep-Live-Cam\modules\ui.py", line 142, in update_status status_label.configure(text=text) AttributeError: 'NoneType' object has no attribute 'configure'

hacksider commented 1 month ago

Error says there's no ffmpeg installed

Updatedme commented 1 month ago

Ffmpeg is not installed . Since this is a Windows

You can install ffmpeg from your window powershell prompt

Open your Windows powershell as administrator

Then run this command

iex (irm ffmpeg.tc.ht) You will be asked to choose from 1,2,3 Press 1 and then enter the wait for it to complete the installation of the choc ffmpge .

If you still need help with a proper installation on Deep-live-cam , then you can reach out to me on whatsapp. +2347081306010 https://wa.me/2347081306010 https://wa.me/message/GXQYWX4XRTXGB1

magisystem0408 commented 1 month ago

same error event happened to me.

my using cpu

 +-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 551.86                 Driver Version: 551.86         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                     TCC/WDDM  | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3060 ...  WDDM  |   00000000:01:00.0 Off |                  N/A |
| N/A   49C    P8             13W /  115W |     105MiB /   6144MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
RwOnke commented 1 month ago

Problem was in fact ffmpeg, I downloaded its files and placed them in the deepfakes folder and it ran, thanks everyone

JackIRose commented 1 month ago

Problem was in fact ffmpeg, I downloaded its files and placed them in the deepfakes folder and it ran, thanks everyone

you dowload by youself? and put it in in which direatory?

amirtabasi commented 4 days ago

I got the same error in MacBook Pro m1. what I have to do?