Skip to content

robusta-cli ModuleNotFoundError: No module named 'cachetools' #2060

@pomcho555

Description

@pomcho555

Describe the bug

I got ModuleNotFoundError when I run robusta-cli on my laptop

robusta --help
Traceback (most recent call last):
  File "/Users/user.name/.local/bin/robusta", line 3, in <module>
    from robusta.cli.main import app
  File "/Users/user.name/.local/pipx/venvs/robusta-cli/lib/python3.14/site-packages/robusta/cli/main.py", line 32, in <module>
    from robusta.core.sinks.robusta.robusta_sink_params import RobustaSinkConfigWrapper, RobustaSinkParams
  File "/Users/user.name/.local/pipx/venvs/robusta-cli/lib/python3.14/site-packages/robusta/core/sinks/robusta/__init__.py", line 1, in <module>
    from robusta.core.sinks.robusta.robusta_sink import RobustaSink
  File "/Users/user.name/.local/pipx/venvs/robusta-cli/lib/python3.14/site-packages/robusta/core/sinks/robusta/robusta_sink.py", line 29, in <module>
    from robusta.core.sinks.robusta.prometheus_health_checker import PrometheusHealthChecker
  File "/Users/user.name/.local/pipx/venvs/robusta-cli/lib/python3.14/site-packages/robusta/core/sinks/robusta/prometheus_health_checker.py", line 16, in <module>
    from robusta.integrations.prometheus.utils import get_prometheus_connect, get_prometheus_flags
  File "/Users/user.name/.local/pipx/venvs/robusta-cli/lib/python3.14/site-packages/robusta/integrations/prometheus/utils.py", line 5, in <module>
    from cachetools import TTLCache
ModuleNotFoundError: No module named 'cachetools'

To Reproduce
Steps to reproduce the behavior:

Neither pipx run and pipx install robusta-cli doesn't work

  1. pipx run robusta-cli --help

Or

  1. pipx install robusta-cli
  2. robusta --help

Expected behavior

That cli suppose to show help instruction.

Desktop (please complete the following information):

  • OS: macOS
  • Version 15.7.4 (24G517)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions