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
41.22k stars 6.01k forks source link

Exception in Tkinter callback Traceback (most recent call last): #690

Closed cts85 closed 1 month ago

cts85 commented 1 month ago

After purchasing the Deep-Live-Cam Zero-Installation kit and installing it, I am facing the following error.

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\tkinter__init.py", line 1921, in call return self.func(*args) File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\tkinter\init.py", line 839, in callit func(*args) File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\site-packages\customtkinter\windows\widgets\scaling\scaling_tracker.py", line 186, in check_dpi_scaling window.block_update_dimensions_event() File "C:\Users\Marky\Desktop\DeepLive paid windows installer\Deep-Live-Cam-cuda\python\lib\tkinter\init.py", line 2383, in getattr__ return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'block_update_dimensions_event'

The program did start after this error, but almost invisible in my screen. Please see the attached screenshot. I did manage to make it work but the program is absurdly slow, like I can't even run it and the face swapped image result is too large and zoomed in, and I can't reduce it. I had the 1.3 version of the software before and it ran smoothly, never had any problems with it. Can someone please help?

Below are my computer specS for reference: Processor: 13th Gen Intel Core i9 Graphics: NVIDIA GeForce RTX 4090 16GB VRAM RAM: 32GB

error

KRSHH commented 1 month ago

656

KRSHH commented 1 month ago

Solution

Open terminal in Deep-Live-Cam folder, enter these two commands -

.\venv\Scripts\Activate
python -m pip install --force-reinstall https://github.com/KRSHH/FileStorage/raw/refs/heads/main/customtkinter-5.2.2-py3-none-any.whl