Skip to content

[Setup]: python: command not found when agent runs terminal tools #33178

@silviuchingaru

Description

@silviuchingaru

What's Going Wrong?

I run hermes-agent in a podman container.

When agent tries to run terminal tools, the following message is logged in container logs:
WARNING agent.tool_executor: Tool terminal returned error (0.05s): {"output": "/usr/bin/bash: line 6: python: command not found", "exit_code": 127, "error": null}
hermes doctor --fix does not solve this either.

Also in open webui tool run looks like this:

Image

Steps Taken

Run default hermes setup on first container initialisation, everything seems to work fine, only this is logged and I think, because agent's command is unsuccessful, agent tries other methods and operation take longer.

Installation Method

Docker

Operating System

Debian 13.4

Python Version

3.13.5

Hermes Version

v0.14.0 (2026.5.16) Commit (#22eb4d1)

Debug Report

Full Error Output

WARNING agent.tool_executor: Tool terminal returned error (0.05s): {"output": "/usr/bin/bash: line 6: python: command not found", "exit_code": 127, "error": null}

What I've Already Tried

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/dockerDocker image, Compose, packagingcomp/agentCore agent loop, run_agent.py, prompt buildertool/terminalTerminal execution and process managementtype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions