hermes - 💡(How to fix) Fix [Bug]: FileNotFoundError: No such file or directory:

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

llmadmin@llmbox:~/monorepo$ hermes --tui Installing TUI dependencies… Traceback (most recent call last): File "/home/llmadmin/.local/bin/hermes", line 6, in <module> sys.exit(main()) ^^^^^^ File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 12397, in main cmd_chat(args) File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1420, in cmd_chat _launch_tui( File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1264, in _launch_tui argv, cwd = _make_tui_argv(tui_dir, tui_dev) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1088, in _make_tui_argv result = subprocess.run( ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/ui-tui'

Root Cause

Root Cause Analysis (optional)

Code Example

llmadmin@llmbox:~/monorepo$ hermes --tui
Installing TUI dependencies…
Traceback (most recent call last):
  File "/home/llmadmin/.local/bin/hermes", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 12397, in main
    cmd_chat(args)
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1420, in cmd_chat
    _launch_tui(
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1264, in _launch_tui
    argv, cwd = _make_tui_argv(tui_dir, tui_dev)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1088, in _make_tui_argv
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/ui-tui'

---

llmadmin@llmbox:~/monorepo$ hermes --tui
Installing TUI dependencies…
Traceback (most recent call last):
  File "/home/llmadmin/.local/bin/hermes", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 12397, in main
    cmd_chat(args)
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1420, in cmd_chat
    _launch_tui(
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1264, in _launch_tui
    argv, cwd = _make_tui_argv(tui_dir, tui_dev)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1088, in _make_tui_argv
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/ui-tui'

---

Report       https://paste.rs/mIF2s
  agent.log    https://paste.rs/peWnY
  gateway.log  https://paste.rs/ZRiLE

---
RAW_BUFFERClick to expand / collapse

Bug Description

Normal hermes works but hermes --tui results in this

llmadmin@llmbox:~/monorepo$ hermes --tui
Installing TUI dependencies…
Traceback (most recent call last):
  File "/home/llmadmin/.local/bin/hermes", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 12397, in main
    cmd_chat(args)
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1420, in cmd_chat
    _launch_tui(
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1264, in _launch_tui
    argv, cwd = _make_tui_argv(tui_dir, tui_dev)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1088, in _make_tui_argv
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/ui-tui'

Steps to Reproduce

  1. pipx uninstall hermes-agent (just to clear the deck)
  2. pipx install "hermes-agent[tui]" --python python3.12
  3. hermes --tui

The same issue happens when I follow the tutorial precisely:

  1. pip install hermes-agent
  2. hermes (works)
  3. hermes --tui (same error)

Expected Behavior

For TUI to launch...

Actual Behavior

Blurts this error

llmadmin@llmbox:~/monorepo$ hermes --tui
Installing TUI dependencies…
Traceback (most recent call last):
  File "/home/llmadmin/.local/bin/hermes", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 12397, in main
    cmd_chat(args)
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1420, in cmd_chat
    _launch_tui(
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1264, in _launch_tui
    argv, cwd = _make_tui_argv(tui_dir, tui_dev)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/hermes_cli/main.py", line 1088, in _make_tui_argv
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages/ui-tui'

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report       https://paste.rs/mIF2s
  agent.log    https://paste.rs/peWnY
  gateway.log  https://paste.rs/ZRiLE

Operating System

Ubuntu 26.04 LTS

Python Version

3.12.13

Hermes Version

Hermes Agent v0.14.0 (2026.5.16) Project: /home/llmadmin/.local/share/pipx/venvs/hermes-agent/lib/python3.12/site-packages Python: 3.12.13 OpenAI SDK: 2.24.0 Up to date

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Bug]: FileNotFoundError: No such file or directory: