iperov / DeepFaceLive

Real-time face swap for PC streaming or video calls
GNU General Public License v3.0
26.03k stars 4.43k forks source link

Unable to load kernel32 library #28

Closed JustinH71 closed 2 years ago

JustinH71 commented 2 years ago

Running DeepFaceLive. Traceback (most recent call last): File "_internal\DeepFaceLive\main.py", line 95, in main() File "_internal\DeepFaceLive\main.py", line 88, in main args.func(args) File "_internal\DeepFaceLive\main.py", line 30, in run_DeepFaceLive from apps.DeepFaceLive.DeepFaceLiveApp import DeepFaceLiveApp File "D:\DeepFaceLive_NVIDIA_internal\DeepFaceLive\apps\DeepFaceLive\DeepFaceLiveApp.py", line 14, in from . import backend File "D:\DeepFaceLive_NVIDIA_internal\DeepFaceLive\apps\DeepFaceLive\backend__init.py", line 1, in from .BackendBase import (BackendConnection, BackendConnectionData, BackendDB, File "D:\DeepFaceLive_NVIDIA_internal\DeepFaceLive\apps\DeepFaceLive\backend\BackendBase.py", line 7, in from xlib import time as lib_time File "D:\DeepFaceLive_NVIDIA_internal\DeepFaceLive\xlib\time\init_.py", line 1, in from .time import timeit, measure, FPSCounter, AverageMeasurer File "D:\DeepFaceLiveNVIDIA_internal\DeepFaceLive\xlib\time\time.py", line 11, in if not kernel32.QueryPerformanceFrequency(_perf_freq): File "D:\DeepFaceLive_NVIDIA_internal\DeepFaceLive\xlib\api\win32\wintypes\wintypes.py", line 32, in wrapper raise RuntimeError(f'Unable to load {dll_name} library.') RuntimeError: Unable to load kernel32 library. Press any key to continue . . .

I've tried both versions. I have an rtx 2070 with 8gig of vram. All other programs work just fine. Deepfacelab works great to. This is the only program that won't run. I've tried everything. Even tried replacing the kernel32.dll with another windows 10 kernel.dll.

iperov commented 2 years ago

another windows 10? program works fine with latest windows 10.

JustinH71 commented 2 years ago

I am running the latest windows 10

JustinH71 commented 2 years ago

I just upgraded to windows 11 and now it works great. I new it was on my end.

AndrewHayes1724 commented 1 year ago

This is happening to me in 2023 randomly. I am still using Windows 10 not 11.