[Python] Why am I getting a ModuleNotFoundError, mentioning the prefix of my broker's DNS,...

Discussão em 'Python' iniciado por Stack, Março 20, 2025.

  1. Stack

    Stack Membro Participativo

    When attempting to start a Celery worker, I'm getting a ModuleNotFoundError at startup and Celery quits : [2025-03-17 17:16:42,405: CRITICAL/MainProcess] Unrecoverable error: ModuleNotFoundError("No module named 'a-redis-server'").

    The odd thing - the module it was looking for was (example - not the actual value) a-redis-server, which matches the prefixed DNS for broker and backend (i.e. the value was a-redis-server.abcdef.0001.use1.cache.amazonaws.com:6379/0).

    Continue reading...

Compartilhe esta Página