question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The update on pypi.org two days ago caused celery to not be used normally

See original GitHub issue
Traceback (most recent call last):
--
  | File "/app/.venv/bin/celery", line 8, in <module>
  | sys.exit(main())
  | File "/app/.venv/lib/python3.7/site-packages/celery/__main__.py", line 15, in main
  | from celery.bin.celery import main as _main
  | File "/app/.venv/lib/python3.7/site-packages/celery/bin/__init__.py", line 3, in <module>
  | from .base import Option
  | File "/app/.venv/lib/python3.7/site-packages/celery/bin/base.py", line 16, in <module>
  | from celery import VERSION_BANNER, Celery, maybe_patch_concurrency, signals
  | File "/app/.venv/lib/python3.7/site-packages/celery/local.py", line 509, in __getattr__
  | module = __import__(self._object_origins[name], None, None, [name])
  | File "/app/.venv/lib/python3.7/site-packages/celery/app/__init__.py", line 5, in <module>
  | from celery import _state
  | File "/app/.venv/lib/python3.7/site-packages/celery/_state.py", line 17, in <module>
  | from celery.utils.threads import LocalStack
  | File "/app/.venv/lib/python3.7/site-packages/celery/utils/__init__.py", line 18, in <module>
  | from .log import LOG_LEVELS
  | File "/app/.venv/lib/python3.7/site-packages/celery/utils/log.py", line 13, in <module>
  | from kombu.five import PY3, values
  | ModuleNotFoundError: No module named 'kombu.five'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
M0r13ncommented, Aug 7, 2020

I ran into the same problem. Pinning the version to kombu == 4.6.11 solved my issue. Maybe you should add that information somewhere or mention it in the changelog.

1reaction
auvipycommented, Aug 7, 2020

U should not use kombu 5 with celery 4.4.x version. Pin your requirements to kombu 4.x series for celery 4.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

celery-custom-fix - Python Package Health Analysis - Snyk
An important project maintenance signal to consider for celery-custom-fix is that it hasn't seen any new versions released to PyPI in the past ......
Read more >
In celery 3.1, making django periodic task - Stack Overflow
'django-celery' is not required, install it ONLY if you need to manage the schedule from the admin, or if you want to store...
Read more >
Configuration and defaults — Celery 3.1.25 documentation
Do not use in production. This is the old AMQP result backend that creates one queue per task, if you want to send...
Read more >
How to Use Celery for Scheduling Tasks | Caktus Group
This documentation applies to Celery 5.0.x. Earlier or later versions of Celery might behave differently. Also, links to Celery documentation ...
Read more >
Installation & Configuration - apache-superset - Read the Docs
The Superset web server and the Superset Celery workers (optional) are ... If not using gunicorn, you may want to disable the use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found