Describe the bug
./start.sh fails on Linux with modern pip/setuptools before the webui ever starts. There are 4 distinct bugs in the installer and requirements-voice-gpu.txt that affect any clean Ubuntu 24.04 install.
Bug 1 — ModuleNotFoundError: No module named 'pkg_resources'
setuptools >= 71 removed pkg_resources. The installer does not pin setuptools, so fresh conda envs and pip's isolated build envs in /tmp both get a modern version that breaks openai-whisper's build.
Bug 2 — nvidia-cudnn-cu12 version conflict
requirements-voice-gpu.txt pins nvidia-cudnn-cu12==8.9.7.29, but torch==2.5.1+cu124 requires ==9.1.0.70. pip cannot resolve this and aborts.
Bug 3 — cmake not listed as system prerequisite
pyopenjtalk requires cmake to compile. It is not mentioned in the README or install docs, causing a hard FileNotFoundError.
Bug 4 — conda env created with wrong permissions
After the first failed run, installer_files/env has permissions that block pip from reinstalling packages, even as the same user. Requires manual sudo chown to recover.
To Reproduce
- Clone the repo on Ubuntu 24.04 LTS (clean install, NVIDIA GPU)
- Run
./start.sh
- Select
G (NVIDIA GPU)
- Observe failure during
pip install -r requirements-voice-gpu.txt:
- First run:
ModuleNotFoundError: No module named 'pkg_resources'
- After attempting to fix setuptools manually:
nvidia-cudnn-cu12 version conflict
- After fixing cudnn:
FileNotFoundError: cmake not found (pyopenjtalk)
- After first failed run:
Permission denied on reinstall attempts
Expected behavior
./start.sh should complete installation and launch the webui without requiring manual intervention.
Screenshots
N/A — all errors are terminal output (reproduced exactly as shown above).
Additional context
- OS: Ubuntu 24.04 LTS
- Python: 3.10.20 (conda managed by installer)
- GPU: NVIDIA (cu124)
- pip: 25.0 / 26.x
- voice-pro: latest (ABUS Launcher v3.0)
Workaround that works:
source installer_files/conda/etc/profile.d/conda.sh
conda activate installer_files/env
# Fix permissions (Bug 4)
sudo chown -R $USER:$USER installer_files/env
# Fix pkg_resources (Bug 1)
pip install "setuptools==69.5.1" --force-reinstall --no-user
pip install openai-whisper==20240930 --no-build-isolation --no-user
# Fix cmake (Bug 3)
sudo apt-get install -y cmake build-essential
# Fix cudnn conflict (Bug 2)
grep -v "nvidia-cudnn-cu12" requirements-voice-gpu.txt > /tmp/requirements-fixed.txt
pip install -r /tmp/requirements-fixed.txt --no-build-isolation --no-user
conda deactivate
./start.sh # succeeds
Suggested fixes:
- Pin
setuptools<71 in the installer bootstrap, or install openai-whisper with --no-build-isolation
- Remove
nvidia-cudnn-cu12==8.9.7.29 from requirements-voice-gpu.txt (torch pulls the correct version)
- Add
cmake and build-essential to Linux prerequisites in the README
- Add
chmod -R u+w installer_files/env after env creation in start.sh
Describe the bug
./start.shfails on Linux with modern pip/setuptools before the webui ever starts. There are 4 distinct bugs in the installer andrequirements-voice-gpu.txtthat affect any clean Ubuntu 24.04 install.Bug 1 —
ModuleNotFoundError: No module named 'pkg_resources'setuptools >= 71removedpkg_resources. The installer does not pin setuptools, so fresh conda envs and pip's isolated build envs in/tmpboth get a modern version that breaksopenai-whisper's build.Bug 2 —
nvidia-cudnn-cu12version conflictrequirements-voice-gpu.txtpinsnvidia-cudnn-cu12==8.9.7.29, buttorch==2.5.1+cu124requires==9.1.0.70. pip cannot resolve this and aborts.Bug 3 —
cmakenot listed as system prerequisitepyopenjtalkrequirescmaketo compile. It is not mentioned in the README or install docs, causing a hardFileNotFoundError.Bug 4 — conda env created with wrong permissions
After the first failed run,
installer_files/envhas permissions that block pip from reinstalling packages, even as the same user. Requires manualsudo chownto recover.To Reproduce
./start.shG(NVIDIA GPU)pip install -r requirements-voice-gpu.txt:ModuleNotFoundError: No module named 'pkg_resources'nvidia-cudnn-cu12version conflictFileNotFoundError: cmake not found(pyopenjtalk)Permission deniedon reinstall attemptsExpected behavior
./start.shshould complete installation and launch the webui without requiring manual intervention.Screenshots
N/A — all errors are terminal output (reproduced exactly as shown above).
Additional context
Workaround that works:
Suggested fixes:
setuptools<71in the installer bootstrap, or installopenai-whisperwith--no-build-isolationnvidia-cudnn-cu12==8.9.7.29fromrequirements-voice-gpu.txt(torch pulls the correct version)cmakeandbuild-essentialto Linux prerequisites in the READMEchmod -R u+w installer_files/envafter env creation instart.sh