Installation fails on Windows (CPU mode, AMD GPU) due to multiple dependency conflicts (v3.1.4 and v3.2.0)
Environment
- OS: Windows 11 (64-bit)
- GPU: AMD Radeon 780M (integrated) – running in CPU mode (
Coption selected) - RAM: 32 GB
- Visual Studio Build Tools 2022 with "Desktop development with C++" installed
- Tested versions: v3.1.4 and v3.2.0 (both from the GitHub releases page)
Steps to reproduce
- Downloaded the source code ZIP from the release page (v3.2.0 and later v3.1.4).
- Extracted the folder to Desktop.
- Ran
configure.bat(completed successfully; selected CPU mode when prompted). - Ran
start.batas administrator.
Expected behavior
The web UI opens at http://127.0.0.1:7870 without errors.
Actual behavior
start.bat fails with a series of import/dependency errors. The errors occur after configure.bat finishes, and they appear every time start.bat is run, even after a clean extraction. I attempted multiple manual fixes (adjusting package versions) but each fix uncovers a new conflict. The sequence of errors encountered (across both versions) includes:
ModuleNotFoundError: No module named 'pkg_resources'- Originates from
ctranslate2(used byfaster_whisper). Solved by downgradingsetuptoolsto67.8.0, but then other issues appear.
- Originates from
AttributeError: module 'torchaudio' has no attribute 'AudioMetaData'- In
pyannote.audio.core.io. Triggered by incompatibility betweentorchaudioandpyannote.audio. Requires specific combinations (e.g.,torch==2.1.1,torchaudio==2.1.1vs.torch==2.2.0,torchaudio==2.2.0) but each combination leads to further conflicts.
- In
ImportError: huggingface-hub>=0.26.0,<1.0 is required ... but found huggingface-hub==1.13.0- From
transformersdependency check. Downgradinghuggingface-hubcauses conflict withpyannoteor other packages.
- From
numpy.dtype size changed, may indicate binary incompatibility- When
numpy2.x is installed, compiled extensions (likespacy,thinc,speechbrain) crash because they were built fornumpy1.x. Installingnumpy==1.26.4resolves this but does not prevent other errors (e.g.,huggingface-hubconflict returns).
- When
ImportError: Lazy import of LazyModule(...speechbrain.integrations.k2_fsa...) failed- Occurs with
speechbrain1.1.0 andpydanticv2; downgrading topydantic<2causes breakage infastapi/gradio.
- Occurs with
After manually installing
torch==2.2.0,torchaudio==2.2.0,pyannote.audio==3.3.2,speechbrain==1.0.1, andnumpy==1.26.4, the error returned tohuggingface-hub==1.13.0being required but found.
In summary, the dependency tree appears broken on a clean Windows system when using CPU mode. configure.bat installs a mix of very recent packages (e.g., huggingface-hub 1.13.0, numpy 2.2.6, torch 2.11.0) that are incompatible with the pinned requirements of transformers, pyannote.audio, speechbrain, spacy, etc.
Additional context
configure.batreports success and uses Chocolatey to install Visual Studio Build Tools (which were already present).- I tried deleting the
installer_filesfolder and re-runningconfigure.batmultiple times with the same result. - Internet connection is stable; no proxy/VPN used.
- The issue persists identically on both v3.1.4 and v3.2.0.
Please advise if there is a recommended combination of package versions for CPU-only mode, or if an updated requirements-voice-cpu.txt will be released. Thank you.
Source: abus-aikorea/voice-pro