Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Error when installing requirements

Open halpz opened this issue 7 months ago • 1 comments

running on Windows 11

I installed the VS 2022 build tools, ffmpeg and other requirements

I cloned the repo, copied the models over, created a venv and entered it.

when I try pip install -r requirements.txt i get:

[16 lines of output]
      + C:\Users\Paul\desktop\Deep-Live-Cam\venv\Scripts\python.exe C:\Users\Paul\AppData\Local\Temp\pip-install-b34ry6au\numpy_29cebd47a9934829b884f38652f3679b\vendored-meson\meson\meson.py setup C:\Users\Paul\AppData\Local\Temp\pip-install-b34ry6au\numpy_29cebd47a9934829b884f38652f3679b C:\Users\Paul\AppData\Local\Temp\pip-install-b34ry6au\numpy_29cebd47a9934829b884f38652f3679b\.mesonpy-nya97bpo -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\Paul\AppData\Local\Temp\pip-install-b34ry6au\numpy_29cebd47a9934829b884f38652f3679b\.mesonpy-nya97bpo\meson-python-native-file.ini
      The Meson build system
      Version: 1.2.99
      Source dir: C:\Users\Paul\AppData\Local\Temp\pip-install-b34ry6au\numpy_29cebd47a9934829b884f38652f3679b
      Build dir: C:\Users\Paul\AppData\Local\Temp\pip-install-b34ry6au\numpy_29cebd47a9934829b884f38652f3679b\.mesonpy-nya97bpo
      Build type: native build
      Project name: NumPy
      Project version: 1.26.4

      ..\meson.build:1:0: ERROR: Unable to detect linker for compiler `clang -Wl,--version`
      stdout:
      stderr: clang.exe: error: unable to execute command: program not executable
      clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)


      A full log can be found at C:\Users\Paul\AppData\Local\Temp\pip-install-b34ry6au\numpy_29cebd47a9934829b884f38652f3679b\.mesonpy-nya97bpo\meson-logs\meson-log.txt
      [end of output]

how do I fix this ?

halpz avatar Apr 30 '25 13:04 halpz

You likely don't have Clang installed, or it’s not in the PATH. try installing it making sure its in PATH

soot-bit avatar Apr 30 '25 16:04 soot-bit