Skip to content

"No module named django": something wrong with kombu #51

@FangxinTHU

Description

@FangxinTHU

When you get the error "No module named django", maybe it's noting about your django but a package called kombu.....

When installing the packages in requirment.txt, it installed
django-celery-with-mongodb-3.0
django-celery-3.1.17
celery-4.0.0
kombu-4.0.0

Here the reason for kombu-4.0.0:
"Collecting kombu<5.0,>=4.0 (from celery>=3.1.15->django-celery<4.0,>=3.0->django-celery-with-mongodb->-r requirements.txt (line 5))"

But ! ! !
In openPDS\openpds\settings.py Line 142
'kombu.transport.django' is in the list of INSTALLED_APPS, while there no kombu.transport.django module in kombu-4.00, it's only in the version below 4.00......

And you will just get an error: 'no module named django'. In fact you can hardly find that it's noting wrong with your path of django, your enviroment and so on.

Rolling back the version of kombu to 3.X is complex because a list of package about celery rely on it. So I want to know about which version of django-celery-with-mongodb should be installed.

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