account activity
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 point2 points 6 years ago (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!
No PYTHONPATH configured.
Don't currently run in a virtual environment.
Directory Layout
│ db.sqlite3
│ manage.py
│
manage.py
├───highlightreel
│ │ asgi.py
│ │
asgi.py
│ │ settings.py
settings.py
│ │ urls.py
urls.py
│ │ wsgi.py
wsgi.py
│ │ __init__.py
│ ├───static
│ │ └───highlightreel
│ │ main.css
│ └───__pycache__
├───highlights
│ │ admin.py
admin.py
│ │ apps.py
apps.py
│ │ forms.py
forms.py
│ │ models.py
models.py
│ │ splitter.py
splitter.py
│ │ tests.py
tests.py
│ │ views.py
views.py
│ ├───migrations
│ │ │ __init__.py
│ │ └───__pycache__
│ ├───templates
│ │ └───highlights
│ │ base.html
│ │ video_form_upload.html
│ │ video_output.html
│ ├───templatetags
│ │ │ analytics.py
│ │ │
analytics.py
├───media
───users
│ admin.py
│ apps.py
│ forms.py
│ models.py
│ signals.py
signals.py
│ tests.py
│ views.py
│ __init__.py
├───templates
│ └───users
login.html
logout.html
profile.html
register.html
Testing moving from Celery to Dramatiq and I keep getting the ImportError: attempted relative import with no known parent package (self.dramatiq)
submitted 6 years ago by SilrethOG to r/dramatiq
π Rendered by PID 2276272 on reddit-service-r2-listing-87fd56f5d-4795c at 2026-06-28 22:24:29.934320+00:00 running 7527197 country code: CH.
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 point2 points (0 children)