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

Import Error: No module named 'worker' #14

Open
Gaurav-t opened this issue Dec 12, 2019 · 1 comment
Open

Import Error: No module named 'worker' #14

Gaurav-t opened this issue Dec 12, 2019 · 1 comment

Comments

@Gaurav-t
Copy link

Gaurav-t commented Dec 12, 2019

  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 :)

@Gaurav-t Gaurav-t closed this as completed Jan 3, 2020
@Gaurav-t Gaurav-t reopened this Jan 3, 2020
@Gaurav-t
Copy link
Author

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant