Bug Description
While installing for first time i am getting this error.
NeuTTS requires:
• Python package: neutts (~50MB install + ~300MB model on first use)
• System package: espeak-ng (phonemizer)
Install NeuTTS dependencies now? [Y/n]: y
Installing neutts Python package...
This will also download the TTS model (~300MB) on first use.
Traceback (most recent call last):
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1704, in _install_neutts_deps
subprocess.run(
^^^^^^^^^^
NameError: name 'subprocess' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ml/.hermes/hermes-agent/hermes_cli/main.py", line 3617, in
main()
File "/home/ml/.hermes/hermes-agent/hermes_cli/main.py", line 3611, in main
args.func(args)
File "/home/ml/.hermes/hermes-agent/hermes_cli/main.py", line 731, in cmd_setup
run_setup_wizard(args)
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 3089, in run_setup_wizard
setup_model_provider(config)
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1653, in setup_model_provider
_setup_tts_provider(config)
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1766, in _setup_tts_provider
if not _install_neutts_deps():
^^^^^^^^^^^^^^^^^^^^^^
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1710, in _install_neutts_deps
except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as e:
^^^^^^^^^^
NameError: name 'subprocess' is not defined
Steps to Reproduce
- run curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
- after setting NeuTTS as Text-to-Speech Provider it gives the error.
Expected Behavior
should continue to install
Actual Behavior
breaks the installation
Affected Component
Setup / Installation
Messaging Platform (if gateway-related)
No response
Operating System
Ubuntu 24.04
Python Version
3.11.9
Hermes Version
0.3.0
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
Bug Description
While installing for first time i am getting this error.
NeuTTS requires:
• Python package: neutts (~50MB install + ~300MB model on first use)
• System package: espeak-ng (phonemizer)
Install NeuTTS dependencies now? [Y/n]: y
Installing neutts Python package...
This will also download the TTS model (~300MB) on first use.
Traceback (most recent call last):
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1704, in _install_neutts_deps
subprocess.run(
^^^^^^^^^^
NameError: name 'subprocess' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ml/.hermes/hermes-agent/hermes_cli/main.py", line 3617, in
main()
File "/home/ml/.hermes/hermes-agent/hermes_cli/main.py", line 3611, in main
args.func(args)
File "/home/ml/.hermes/hermes-agent/hermes_cli/main.py", line 731, in cmd_setup
run_setup_wizard(args)
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 3089, in run_setup_wizard
setup_model_provider(config)
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1653, in setup_model_provider
_setup_tts_provider(config)
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1766, in _setup_tts_provider
if not _install_neutts_deps():
^^^^^^^^^^^^^^^^^^^^^^
File "/home/ml/.hermes/hermes-agent/hermes_cli/setup.py", line 1710, in _install_neutts_deps
except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as e:
^^^^^^^^^^
NameError: name 'subprocess' is not defined
Steps to Reproduce
Expected Behavior
should continue to install
Actual Behavior
breaks the installation
Affected Component
Setup / Installation
Messaging Platform (if gateway-related)
No response
Operating System
Ubuntu 24.04
Python Version
3.11.9
Hermes Version
0.3.0
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?