I try to run a Django application that uses Celery and I get the following error:
import djcelery File "/Library/Python/2.7/site-packages/djcelery/__init__.py", line 25, in <module> from celery import current_app as celery # noqa File "/Library/Python/2.7/site-packages/celery/__compat__.py", line 135, in __getattr__ module = __import__(self._object_origins[name], None, None, [name]) File "/Library/Python/2.7/site-packages/celery/_state.py", line 18, in <module> from celery.utils.threads import LocalStack File "/Library/Python/2.7/site-packages/celery/utils/__init__.py", line 24, in <module> from celery.exceptions import CPendingDeprecationWarning, CDeprecationWarning File "/Library/Python/2.7/site-packages/celery/exceptions.py", line 15, in <module> from billiard.exceptions import ( # noqa ImportError: No module named exceptions
billiards are installed and the exceptions module exists, and I can import billiard examples through the Python interactive help without any problems. Celery seems unable to import billiards. Any ideas?
source share