Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import error in python 2.5 #656

wants to merge 1 commit into from


Copy link

commented Mar 31, 2012

The patch fixes this error:

Traceback (most recent call last):
  File "motloh/", line 14, in <module>
  File "/home/yrik/motloh/.env/lib/python2.5/site-packages/django/core/management/", line 459, in execute_manager
  File "/home/yrik/motloh/.env/lib/python2.5/site-packages/django/core/management/", line 382, in execute
  File "/home/yrik/motloh/.env/lib/python2.5/site-packages/django/core/management/", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/yrik/motloh/.env/lib/python2.5/site-packages/django/core/management/", line 69, in load_command_class
    module = import_module('' % (app_name, name))
  File "/home/yrik/motloh/.env/lib/python2.5/site-packages/django/utils/", line 35, in import_module
  File "/home/yrik/motloh/.env/src/djcelery/djcelery/management/commands/", line 10, in <module>
    from import app
  File "/home/yrik/motloh/.env/src/djcelery/djcelery/", line 3, in <module>
    from import default_app
  File "/home/yrik/motloh/.env/src/celery/celery/app/", line 21, in <module>
    import annotations
ImportError: No module named annotations

I've got this error on my system with latest celery from official repo.

It's connected with import command behavior in python 2.5.


This comment has been minimized.

Copy link

commented Apr 16, 2012

Thanks! This has already been merged and released as part of 2.5.2, not sure why Github didn't detect it.

@ask ask closed this Apr 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.