facebookresearch / audiocraft

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
20.86k stars 2.13k forks source link

Error while installing audiocraft, diffq problem #204

Closed phdhorse41 closed 1 year ago

phdhorse41 commented 1 year ago

Building wheel for diffq (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for diffq (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [27 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\diffq copying diffq\base.py -> build\lib.win-amd64-cpython-311\diffq copying diffq\diffq.py -> build\lib.win-amd64-cpython-311\diffq copying diffq\lsq.py -> build\lib.win-amd64-cpython-311\diffq copying diffq\torch_pack.py -> build\lib.win-amd64-cpython-311\diffq copying diffq\ts_export.py -> build\lib.win-amd64-cpython-311\diffq copying diffq\uniform.py -> build\lib.win-amd64-cpython-311\diffq copying diffq\utils.py -> build\lib.win-amd64-cpython-311\diffq copying diffq__init__.py -> build\lib.win-amd64-cpython-311\diffq running egg_info writing diffq.egg-info\PKG-INFO writing dependency_links to diffq.egg-info\dependency_links.txt writing requirements to diffq.egg-info\requires.txt writing top-level names to diffq.egg-info\top_level.txt reading manifest file 'diffq.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'examples\cifar\outputs**' adding license file 'LICENSE' writing manifest file 'diffq.egg-info\SOURCES.txt' running build_ext building 'diffq.bitpack' 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 diffq Successfully built audiocraft encodec Failed to build diffq ERROR: Could not build wheels for diffq, which is required to install pyproject.toml-based projects