Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7492897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:39:12+00:00 2026-05-29T16:39:12+00:00

I have a django project which runs just fine with runserver located in: D:\EverTabs\work\evertabs-website\src\evertabs\

  • 0

I have a django project which runs just fine with runserver located in:

D:\EverTabs\work\evertabs-website\src\evertabs\

My settings.py and manage.py reside in the above path.

I open the trusty cmd shell, cd to that directory and run manage.py celeryd, I get an exception with the following error:

ImportError: Could not import settings 'evertabs.settings' (Is it on sys.path?): No module named evertabs.settings

fair, enough. Google and StackOverflow to the rescue and I find an answer. I need to provide --settings=settings to the command. Strange, as runserver does not need --settings=settings, but such is life. I’m willing to compromise. I continue to get an error:

Traceback (most recent call last):
  File "C:\Progra~1\Python26\lib\multiprocessing\process.py", line 231, in _bootstrap
    self.run()
  File "C:\Progra~1\Python26\lib\multiprocessing\process.py", line 88, in run
    self._target(*self._args, **self._kwargs)
  File "c:\program files\python26\lib\site-packages\celery-2.4.6-py2.6.egg\celery\concurrency\processes\pool.py", line 173, in worker
    initializer(*initargs)
  File "c:\program files\python26\lib\site-packages\celery-2.4.6-py2.6.egg\celery\worker\__init__.py", line 64, in process_initializer
    app.loader.init_worker()
  File "c:\program files\python26\lib\site-packages\celery-2.4.6-py2.6.egg\celery\loaders\base.py", line 100, in init_worker
    self.on_worker_init()
  File "c:\program files\python26\lib\site-packages\django_celery-2.4.2-py2.6.egg\djcelery\loaders.py", line 92, in on_worker_init
    autodiscover()
  File "c:\program files\python26\lib\site-packages\django_celery-2.4.2-py2.6.egg\djcelery\loaders.py", line 114, in autodiscover
    for app in settings.INSTALLED_APPS])
  File "c:\program files\python26\lib\site-packages\django_celery-2.4.2-py2.6.egg\djcelery\loaders.py", line 124, in find_related_module
    app_path = importlib.import_module(app).__path__
  File "build\bdist.win32\egg\importlib\__init__.py", line 37, in import_module
ImportError: No module named evertabs

So I scratch my head vigorously and decide that maybe if I feed this guy a different pythonpath, he will place nicely. My next try is:

manage.py celeryd --pythonpath=D:\EverTabs\work\evertabs-website\src\

Now we’re getting somewhere! No errors. However, my celeryconfig.py, which is in the same directory as settings.py, is not getting processed. None of my tasks are loaded. I went as far as putting a syntax error into celeryconfg.py to prove to myself it is not being loaded.

The next step I did was to use a manage.py from django 1.4. This manage.py is placed in D:\EverTabs\work\evertabs-website\src\ as opposed to D:\EverTabs\work\evertabs-website\src\evertabs\. At this point, I can execute celeryd with the simple syntax and not have to add to the pythonpath. Still, my celeryconfig.py is left untouched:

D:\EverTabs\work\evertabs-website\src>manage.py celeryd

Further research shows that if I add a tasks.py to my top level dir 9where setting.py is located). Celery will auto-discover them. This has worked. however, celeryconfig.py is still not being processed so I cannot do more intricate config in there. For now, this is not a concern, as my tasks are finally found. However, it bothers me greatly that celeryconfig.py is not being processed.

It is now dawning on me that maybe modern celery is not looking for celeryconfig.py after all. I can simply put these settings in my settings.py and celery will pick them up. Things are starting to look good.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T16:39:13+00:00Added an answer on May 29, 2026 at 4:39 pm

    django-celery uses settings.py as a celery configuration file.

    The other main difference is that configuration values are stored in
    your Django projects’ settings.py module rather than in
    celeryconfig.py.

    http://ask.github.com/django-celery/introduction.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Django-project which was running fine, until I made some changes I
We have a Django project which runs on Google App Engine and used db.UserProperty
I have to work on a project which runs on a single system ie.,
I have created a Django project in local which runs without any kind of
I have a django project which is laid out like this... myproject apps media
I have a Django project in which multiple processes are accessing the backend mysql
I have a Django project. Given a url, how can I know which view
I would like to deplay a django application/project, which i have created within Aptana.
I have a django project that runs on a Linux server, and I've been
I have a django project I keep on github. It worked perfectly fine on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.