hi
In my django app I wanted to use some task scheduling .So ,i built and
installed celery from celery-2.0.3.tar.gz.Then later I found a blog
about django-celery and ghettoq at
http://bitkickers.blogspot.com/2010/07/djangocelery-quickstart-or-how-i.html

I installed those two through easy-install ,added apps to settings and
ran syncdb.
Then the blog mentions running celery daemon from command line
>>sudo ./manage.py celeryd -v 2 -B -s celery -E -l INFO

Here I am getting an Import Error
File "./manage.py", line 2, in <module>
    from django.core.management import execute_manager
ImportError: No module named django.core.management

I have Django1.2.1 in PYTHONPATH and
when I try in  python shell
>>import django
>>django.VERSION
(1, 2, 1, 'final', 0)
>>> from django.core.management import execute_manager
>>>

It works ok,and I can run
python manage.py syncdb,python manage.py runserver ,they work without
problems.
I have set the settings in .bashrc
DJANGO_SETTINGS_MODULE=mydjproject.settings
export DJANGO_SETTINGS_MODULE

Why am I getting this error when I try to start the celery daemon?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to