By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account When processing:
venv\Scripts\pip.exe install so-vits-svc-fork
Installer exits, first with 2 warnings and then with a file not found error:

"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IJ:\SoftVC VITS\venv\include" -IC:\Users\dhs\AppData\Local\Programs\Python\Python310\include -IC:\Users\dhs\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /EHsc /Tpfairseq/clib/libbleu/libbleu.cpp /Fobuild\temp.win-amd64-cpython-310\Release\fairseq/clib/libbleu/libbleu.obj -std=c++11 -O3
cl : warning della riga di comando D9002 : l'opzione sconosciuta '-std=c++11' verr… ignorata
cl : warning della riga di comando D9002 : l'opzione sconosciuta '-O3' verr… ignorata
libbleu.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include\yvals.h(17): fatal error C1083: Non Š possibile aprire il file inclusione: 'crtdbg.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fairseq
Failed to build fairseq
ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects

To Reproduce
run install.bat

Additional context
-Fresh Python 3.10.10 install
-Fresh Visual Studio Install
-Contents of "cudnn-windows-x86_64-8.8.1.3_cuda11-archive.zip" copied inside C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\

Same result with anaconda (skipping the Python check in the bat).
Already tried to unsinstall and reinstall visual studio multiple times.

Spent the whole day trying, no success.
Any hints?

Thanks.

Edit: seems that vs_BuildTools isn't able to install any windows (10 or 11) SDK, no idea why. :(

Sadly not: it really doesn't want install any Win SDK.
I guess this is a visual studio errors, i could be closed.
Just asking if anyone can save me more pain and make avaiable the compiled fies for Cuda (if possible).
Thanks.

I am also getting the same error, unsolved. Tried to restart and reinstalling the SDK.

Found #224

it seemed to have fix my issue.

It seems that using transformers eliminates the need to install fairseq (needs code change)

I'm using the latest repo, manually installing using venv. I do also Failed to build fairseq. How I'm I supposed to be using transformers while pip install -U so-vits-svc-fork .
Many thanks!