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

ImportError: attempted relative import with no known parent package #1

Open
circle3451 opened this issue Jan 22, 2024 · 0 comments
Open

Comments

@circle3451
Copy link

circle3451 commented Jan 22, 2024

I get the following error on runtime for docker compose:

beetseeker       |   File "/app/main.py", line 6, in <module>
beetseeker       |     from . import config
beetseeker       | ImportError: attempted relative import with no known parent package
beetseeker exited with code 1```

beetseeker:
image: ghcr.io/andrewjmetzger/beetseeker:latest
container_name: beetseeker
environment:
- UID=1000 # (optionally) set user id
- GID=1000 # (optionally) set group id
volumes:
- ${DATA}/beetseeker/config.py:/app/config.py
- ${MEDIA}/media/music-beets:/music-beets/
- ${MEDIA}/beetsingress:/beetsingress/
- /mnt/tank/public/downloads/slskd:/public/downloads/

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