I am getting the following error when I try to run celery:
Traceback (most recent call last):
File "/usr/bin/celery", line 11, in
sys.exit(main())
File "/usr/lib/python2.6/site-packages/celery/main.py", line 30, in main
main()
File "/usr/lib/python2.6/site-packages/celery/bin/celery.py", line 81, in main
cmd.execute_from_commandline(argv)
File "/usr/lib/python2.6/site-packages/celery/bin/celery.py", line 769, in execute_from_commandline
super(CeleryCommand, self).execute_from_commandline(argv)))
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 305, in execute_from_commandline
argv = self.setup_app_from_commandline(argv)
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 465, in setup_app_from_commandline
self.app = self.find_app(app)
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 485, in find_app
return find_app(app, symbol_by_name=self.symbol_by_name)
File "/usr/lib/python2.6/site-packages/celery/app/utils.py", line 229, in find_app
sym = symbol_by_name(app, imp=imp)
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 488, in symbol_by_name
return symbol_by_name(name, imp=imp)
File "/usr/lib/python2.6/site-packages/kombu/utils/init.py", line 92, in symbol_by_name
module = imp(module_name, package=package, kwargs)
File "/usr/lib/python2.6/site-packages/celery/utils/imports.py", line 101, in import_from_cwd
return imp(module, package=package)
File "/usr/lib64/python2.6/contextlib.py", line 34, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.6/site-packages/celery/utils/imports.py", line 64, in cwd_in_path
yield cwd
File "/usr/lib/python2.6/site-packages/celery/utils/imports.py", line 101, in import_from_cwd
return imp(module, package=package)
File "/usr/lib/python2.6/site-packages/importlib/init.py", line 37, in import_module
import(name)
File "/srv/space/jobs.py", line 3, in
import data
File "/srv/space/data.py", line 1, in
import pymongo
File "/usr/lib64/python2.6/site-packages/pymongo/init*.py", line 90, in
from pymongo.common import (MIN_SUPPORTED_WIRE_VERSION,
File "/usr/lib64/python2.6/site-packages/pymongo/common.py", line 19, in
from pymongo import read_preferences
File "/usr/lib64/python2.6/site-packages/pymongo/read_preferences.py", line 19, in
from pymongo.errors import ConfigurationError
File "/usr/lib64/python2.6/site-packages/pymongo/errors.py", line 17, in
from bson.errors import
ImportError: No module named errors
Hello,
I am getting the following error when I try to run celery: Traceback (most recent call last): File "/usr/bin/celery", line 11, in
sys.exit(main())
File "/usr/lib/python2.6/site-packages/celery/main.py", line 30, in main
main()
File "/usr/lib/python2.6/site-packages/celery/bin/celery.py", line 81, in main
cmd.execute_from_commandline(argv)
File "/usr/lib/python2.6/site-packages/celery/bin/celery.py", line 769, in execute_from_commandline
super(CeleryCommand, self).execute_from_commandline(argv)))
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 305, in execute_from_commandline
argv = self.setup_app_from_commandline(argv)
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 465, in setup_app_from_commandline
self.app = self.find_app(app)
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 485, in find_app
return find_app(app, symbol_by_name=self.symbol_by_name)
File "/usr/lib/python2.6/site-packages/celery/app/utils.py", line 229, in find_app
sym = symbol_by_name(app, imp=imp)
File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 488, in symbol_by_name
return symbol_by_name(name, imp=imp)
File "/usr/lib/python2.6/site-packages/kombu/utils/init.py", line 92, in symbol_by_name
module = imp(module_name, package=package, kwargs)
File "/usr/lib/python2.6/site-packages/celery/utils/imports.py", line 101, in import_from_cwd
return imp(module, package=package)
File "/usr/lib64/python2.6/contextlib.py", line 34, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.6/site-packages/celery/utils/imports.py", line 64, in cwd_in_path
yield cwd
File "/usr/lib/python2.6/site-packages/celery/utils/imports.py", line 101, in import_from_cwd
return imp(module, package=package)
File "/usr/lib/python2.6/site-packages/importlib/init.py", line 37, in import_module
import(name)
File "/srv/space/jobs.py", line 3, in
import data
File "/srv/space/data.py", line 1, in
import pymongo
File "/usr/lib64/python2.6/site-packages/pymongo/ init*.py", line 90, in
from pymongo.common import (MIN_SUPPORTED_WIRE_VERSION,
File "/usr/lib64/python2.6/site-packages/pymongo/common.py", line 19, in
from pymongo import read_preferences
File "/usr/lib64/python2.6/site-packages/pymongo/read_preferences.py", line 19, in
from pymongo.errors import ConfigurationError
File "/usr/lib64/python2.6/site-packages/pymongo/errors.py", line 17, in
from bson.errors import
ImportError: No module named errors
Does anyone know how to fix this?