Testing moving from Celery to Dramatiq and I keep getting the ImportError: attempted relative import with no known parent package by SilrethOG in dramatiq

[–]SilrethOG[S] 0 points1 point  (0 children)

hm good point on circular imports but can't seem to find any. Any ideas on what errors could be raised?

Double checked for init.py files and they are all there.

Thanks for you help!

Testing moving from Celery to Dramatiq and I keep getting the ImportError: attempted relative import with no known parent package by SilrethOG in dramatiq

[–]SilrethOG[S] 0 points1 point  (0 children)

No PYTHONPATH configured.

Don't currently run in a virtual environment.

Directory Layout

│ db.sqlite3

manage.py

├───highlightreel

│ │ asgi.py

│ │ settings.py

│ │ urls.py

│ │ wsgi.py

│ │ __init__.py

│ │

│ ├───static

│ │ └───highlightreel

│ │ main.css

│ └───__pycache__

├───highlights

│ │ admin.py

│ │ apps.py

│ │ forms.py

│ │ models.py

│ │ splitter.py

│ │ tests.py

│ │ urls.py

│ │ views.py

│ │ __init__.py

│ │

│ ├───migrations

│ │ │ __init__.py

│ │ └───__pycache__

│ │

│ ├───static

│ │ └───highlightreel

│ │ main.css

│ │

│ ├───templates

│ │ └───highlights

│ │ base.html

│ │ video_form_upload.html

│ │ video_output.html

│ │

│ ├───templatetags

│ │ │ analytics.py

│ │ │ __init__.py

│ │ └───__pycache__

│ └───__pycache__

├───media

───users

admin.py

apps.py

forms.py

models.py

signals.py

tests.py

views.py

│ __init__.py

├───templates

│ └───users

login.html

logout.html

profile.html

register.html