I have a directory structure like the following:
game/
graphics/
__init__.py
render.py
sound/
__init__.py
echo.py
__init__.py
and my render.py
reads from ..sound.echo import echo_test
,
but every time I run it it says Attempted relative imports beyond top-level package
.
How can I fix this?