audio-webui icon indicating copy to clipboard operation
audio-webui copied to clipboard

MS Visual C++ installation

Open Musepozos opened this issue 1 year ago • 2 comments

Dear Author,

While running "run.bat" installation crashes. Microsoft visual C++ is already installed. Please advise. thanks.

copying fairseq\examples\womens_bios\README.md -> build\lib.win32-cpython-310\fairseq\examples\womens_bios creating build\lib.win32-cpython-310\fairseq\examples\xformers copying fairseq\examples\xformers\README.md -> build\lib.win32-cpython-310\fairseq\examples\xformers creating build\lib.win32-cpython-310\fairseq\examples\xglm copying fairseq\examples\xglm\model_card.md -> build\lib.win32-cpython-310\fairseq\examples\xglm copying fairseq\examples\xglm\README.md -> build\lib.win32-cpython-310\fairseq\examples\xglm creating build\lib.win32-cpython-310\fairseq\examples\xlmr copying fairseq\examples\xlmr\README.md -> build\lib.win32-cpython-310\fairseq\examples\xlmr creating build\lib.win32-cpython-310\fairseq\examples\xmod copying fairseq\examples\xmod\preprocess_nli.py -> build\lib.win32-cpython-310\fairseq\examples\xmod copying fairseq\examples\xmod\README.md -> build\lib.win32-cpython-310\fairseq\examples\xmod copying fairseq\config\config.yaml -> build\lib.win32-cpython-310\fairseq\config creating build\lib.win32-cpython-310\fairseq\config\model creating build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_baevski_gbw.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_baevski_wiki103.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_big.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_gbw.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_gpt.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_gpt2_big.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_gpt2_medium.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_gpt2_small.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm copying fairseq\config\model\transformer_lm\transformer_lm_wiki103.yaml -> build\lib.win32-cpython-310\fairseq\config\model\transformer_lm creating build\lib.win32-cpython-310\fairseq\config\model\wav2vec copying fairseq\config\model\wav2vec\vq_wav2vec_gumbel.yaml -> build\lib.win32-cpython-310\fairseq\config\model\wav2vec creating build\lib.win32-cpython-310\fairseq\config\model\wav2vec2 copying fairseq\config\model\wav2vec2\wav2vec2_base.yaml -> build\lib.win32-cpython-310\fairseq\config\model\wav2vec2 copying fairseq\config\model\wav2vec2\wav2vec2_large.yaml -> build\lib.win32-cpython-310\fairseq\config\model\wav2vec2 running build_ext building 'fairseq.libbleu' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fairseq ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects

[notice] A new release of pip is available: 23.0.1 -> 23.3.1 [notice] To update, run: python.exe -m pip install --upgrade pip

You need to have visual studio C++ build tools installed. https://visualstudio.microsoft.com/visual-cpp-build-tools/. Please read the error above carefully. If you are unsure, please create an issue at https://github.com/gitmylo/audio-webui/issues. When creating an issue, please include your full autodebug message. Exit code: 1

Musepozos avatar Nov 07 '23 15:11 Musepozos

The error message seems pretty explicit: You need to have visual studio C++ build tools installed.
Try running through the VS installer again and making sure you select the correct packages.

I've just cloned the current repository on Windows and can confirm it works just fine here.

alastaira avatar Nov 10 '23 16:11 alastaira

The error message seems pretty explicit: You need to have visual studio C++ build tools installed. Try running through the VS installer again and making sure you select the correct packages.

I've just cloned the current repository on Windows and can confirm it works just fine here.

I have installed the build tools, and I'm also getting fairseq issues when trying to install audiolm-pytorch across different computers. Im using python 3.10.11

Capture

RobWPink avatar May 07 '24 12:05 RobWPink