#9792 Fixed P2 comp/cli

[Bug]: hermes command not found in external interactive shells after virtualenv migration (#8226)

This closed issue reports that after the virtualenv migration in PR #8226, the hermes command is not found in external interactive shells (e.g. docker exec) because the venv is not activated and its bin directory is not in PATH.