Skip to content

Import Error: No module named 'worker' #14

Description

@Gaurav-t
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 365, in execute
----------
----------
----------
    from worker import CeleryWorkerThread
ImportError: No module named 'worker'

I am getting above error when using this package with integration test framework behave. I am new to celery stuff and want to employ it in my automated tests.

One more error I was getting prior to above error is -

ImportError: from celerytest import CELERY_TEST_BACKEND_CONFIG, CELERY_TEST_CONFIG

So I set that in my config app like below -

CELERY_TEST_BACKEND_CONFIG = ""
CELERY_TEST_CONFIG = ""

Am I missing some kind of config here? Any kind of similar suggestions would be really helpful. Thanks :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions