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
35.05k stars 4.95k forks source link

What do I do when I get an error while running run.py #442

Open feiwuzhaohe opened 3 weeks ago

feiwuzhaohe commented 3 weeks ago

(ttt) D:\work\work_dir\数字\Deep-Live-Cam>python run.py --execution-provider cpu [DLC.CORE] ffmpeg is not installed. Traceback (most recent call last): File "D:\work\work_dir\数字\Deep-Live-Cam\run.py", line 6, in core.run() File "D:\work\work_dir\数字\Deep-Live-Cam\modules\core.py", line 240, in run if not pre_check(): File "D:\work\work_dir\数字\Deep-Live-Cam\modules\core.py", line 162, in pre_check update_status('ffmpeg is not installed.') File "D:\work\work_dir\数字\Deep-Live-Cam\modules\core.py", line 170, in update_status ui.update_status(message) File "D:\work\work_dir\数字\Deep-Live-Cam\modules\ui.py", line 139, in update_status status_label.configure(text=text) AttributeError: 'NoneType' object has no attribute 'configure'

GLSYCOSMIC commented 3 weeks ago

i have same question with you

xjackzenvey commented 3 weeks ago

uses ./start_portable_nvidia.bat instead of launching by run.py,which will not set the environment automatically

budda commented 1 week ago

winget install --id Gyan.FFmpeg -e --source winget

or use the supplied setup_deep_live_cam.bat file in the root of the repository to do it all for you.