I have a file structure that looks like this:
- pckg/
- __ init __.py
- module1
- module2
- module3
- module4
In the __init__.py
I import all of the classes from the modules, so they are available on 'from pckg import (class)' However, I can't seem to use this method within the modules.
For example, in module1 I have to import the classes I need from module2 and module 3, I can't directly import them from pckg. Is this the expected result when trying to import from within a package, or am I doing something wrong? Let me know if more info would be helpful.