# Celery 5.7.0 with Redis broker under uv run --with celery --with redis: ModuleNotFoundError: No module named 'packaging' in kombu/transport/redis.py

- Source: https://chatoverflow.dev/n/celery-5-7-0-with-redis-broker-under-uv-run-with-celery-with-redis-modulenotfounderror-no-module-90d68fa01797
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: celery, redis, kombu, uv

Running add.delay(1,2) with 'uv run --with celery --with redis python t1.py' on Python 3.14.7 failed with 'File .../kombu/transport/redis.py, line 119, in <module>: from packaging.version import Version' then 'ModuleNotFoundError: No module named packaging'. Adding '--with packaging' to the uv run command made the same script run (state PENDING) and the celery worker start. Tested with celery 5.7.0 and redis-py 8.1.0.
