The build failures for pesq and pysptk are happening . This happened by running
pip install -r requirements.txt in the conda environment ClearerVoice-Studio .
Those packages require a C compiler (Microsoft Visual C++ 14.0 or greater) to build from source.
Is there a workaround ?? Following are the logs
Downloading MarkupSafe-2.1.5-cp38-cp38-win_amd64.whl (17 kB)
Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Using cached pyasn1_modules-0.4.2-py3-none-any.whl (181 kB)
Downloading pyparsing-3.1.4-py3-none-any.whl (104 kB)
Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading pytz-2025.2-py2.py3-none-any.whl (509 kB)
Downloading referencing-0.35.1-py3-none-any.whl (26 kB)
Downloading regex-2024.11.6-cp38-cp38-win_amd64.whl (274 kB)
Using cached requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB)
Downloading rpds_py-0.20.1-cp38-none-win_amd64.whl (218 kB)
Using cached rsa-4.9.1-py3-none-any.whl (34 kB)
Downloading safetensors-0.5.3-cp38-abi3-win_amd64.whl (308 kB)
Downloading soupsieve-2.7-py3-none-any.whl (36 kB)
Using cached stempeg-0.2.6-py3-none-any.whl (963 kB)
Downloading threadpoolctl-3.5.0-py3-none-any.whl (18 kB)
Downloading tokenizers-0.20.3-cp38-none-win_amd64.whl (2.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 175.1 kB/s eta 0:00:00
Using cached tzdata-2025.3-py2.py3-none-any.whl (348 kB)
Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)
Downloading zipp-3.20.2-py3-none-any.whl (9.2 kB)
Using cached pyaml-26.2.1-py3-none-any.whl (27 kB)
Downloading pycparser-2.23-py3-none-any.whl (118 kB)
Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Using cached oauthlib-3.3.1-py3-none-any.whl (160 kB)
Using cached pyasn1-0.6.2-py3-none-any.whl (83 kB)
Downloading pyreadline3-3.5.4-py3-none-any.whl (83 kB)
Building wheels for collected packages: pesq, pystoi, mir_eval, python_speech_features, pysptk, fastdtw
Building wheel for pesq (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [32 lines of output]
C:\Users\Moavia\miniconda3\envs\ClearerVoice-Studio\lib\site-packages\setuptools\__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
C:\Users\Moavia\miniconda3\envs\ClearerVoice-Studio\lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-38\pesq
copying pesq\_pesq.py -> build\lib.win-amd64-cpython-38\pesq
copying pesq\__init__.py -> build\lib.win-amd64-cpython-38\pesq
copying pesq\cypesq.pyx -> build\lib.win-amd64-cpython-38\pesq
copying pesq\dsp.h -> build\lib.win-amd64-cpython-38\pesq
copying pesq\pesq.h -> build\lib.win-amd64-cpython-38\pesq
copying pesq\pesqio.h -> build\lib.win-amd64-cpython-38\pesq
copying pesq\pesqmain.h -> build\lib.win-amd64-cpython-38\pesq
copying pesq\pesqpar.h -> build\lib.win-amd64-cpython-38\pesq
copying pesq\dsp.c -> build\lib.win-amd64-cpython-38\pesq
copying pesq\pesqdsp.c -> build\lib.win-amd64-cpython-38\pesq
copying pesq\pesqmod.c -> build\lib.win-amd64-cpython-38\pesq
running build_ext
Compiling pesq/cypesq.pyx because it changed.
[1/1] Cythonizing pesq/cypesq.pyx
building 'cypesq' 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 pesq
Running setup.py clean for pesq
Building wheel for pystoi (setup.py) ... done
Created wheel for pystoi: filename=pystoi-0.3.3-py2.py3-none-any.whl size=7796 sha256=1ea342d41ff03c29027b1dc4bc96c718a948a445cc232ebc3286ba8ee017741e
Stored in directory: c:\users\moavia\appdata\local\pip\cache\wheels\62\35\75\c07f0861a60fb8aacf44fdd5c8c214a224a6c9edb4a4e1402f
Building wheel for mir_eval (setup.py) ... done
Created wheel for mir_eval: filename=mir_eval-0.7-py3-none-any.whl size=100717 sha256=1fe08a4d836f8650991b0dd2aa67eefa3c61a43ea70fb849c0748b0effd30b05
Stored in directory: c:\users\moavia\appdata\local\pip\cache\wheels\20\53\83\1d50d15a666140d53eda589db005f7cb53b739c7e54711f51f
Building wheel for python_speech_features (setup.py) ... done
Created wheel for python_speech_features: filename=python_speech_features-0.6-py3-none-any.whl size=5877 sha256=f0e1474a76e690d57329aaf05b9fc01214968694c0ead299e52b43ffc4c1570c
Stored in directory: c:\users\moavia\appdata\local\pip\cache\wheels\5b\60\87\28af2605138deac93d162904df42b6fdda1dab9b8757c62aa3
Building wheel for pysptk (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pysptk (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
fatal: not a git repository (or any of the parent directories): .git
running bdist_wheel
running build
running build_py
-- Building version 1.0.1
creating build\lib.win-amd64-cpython-38\pysptk
copying pysptk\conversion.py -> build\lib.win-amd64-cpython-38\pysptk
copying pysptk\sptk.py -> build\lib.win-amd64-cpython-38\pysptk
copying pysptk\synthesis.py -> build\lib.win-amd64-cpython-38\pysptk
copying pysptk\util.py -> build\lib.win-amd64-cpython-38\pysptk
copying pysptk\version.py -> build\lib.win-amd64-cpython-38\pysptk
copying pysptk\__init__.py -> build\lib.win-amd64-cpython-38\pysptk
creating build\lib.win-amd64-cpython-38\pysptk\example_audio_data
copying pysptk\example_audio_data\arctic_a0007.wav -> build\lib.win-amd64-cpython-38\pysptk\example_audio_data
copying pysptk\example_audio_data\COPYING -> build\lib.win-amd64-cpython-38\pysptk\example_audio_data
running build_ext
Compiling pysptk\_sptk.pyx because it changed.
[1/1] Cythonizing pysptk\_sptk.pyx
building 'pysptk._sptk' extension
<string>:58: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
C:\Users\Moavia\AppData\Local\Temp\pip-build-env-7gx5ztkv\overlay\Lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
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 pysptk
Building wheel for fastdtw (setup.py) ... done
Created wheel for fastdtw: filename=fastdtw-0.3.4-py3-none-any.whl size=3586 sha256=dbe3921060956edda1b2f1ea7c3c131faaba82017db1cc543ea62747f4fa1356
Stored in directory: c:\users\moavia\appdata\local\pip\cache\wheels\e9\ac\30\c962f9d759dd68cb5482727c44441fdfb48040fdbe983857e8
Successfully built pystoi mir_eval python_speech_features fastdtw
Failed to build pesq pysptk
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pesq, pysptk)
(ClearerVoice-Studio) C:\Users\Moavia\Documents\ClearerVoice-Studio-main>
The build failures for pesq and pysptk are happening . This happened by running
pip install -r requirements.txtin the conda environmentClearerVoice-Studio.Those packages require a C compiler (Microsoft Visual C++ 14.0 or greater) to build from source.
Is there a workaround ?? Following are the logs