You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
For example, given this file structure:
my_ns_package/subpackage/ init.py
main.py
other.py
I get errors in main.py when trying to import symbols from my_ns_package.subpackage.other ( "Imported symbol named "my_ns_package" has not been found.")
Is it something you plan to support?
The text was updated successfully, but these errors were encountered:
No, the subpackage directory is not in my python path. I could write from . import other or from .other import symbol.
I guess in this example, I would call main with python -m my_ns_package.subpackage.main
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
my project uses implicit namespace packages ( https://www.python.org/dev/peps/pep-0420/ ), which source trail does not seem to recognize.
For example, given this file structure:
my_ns_package/subpackage/
init.py
main.py
other.py
I get errors in main.py when trying to import symbols from my_ns_package.subpackage.other ( "Imported symbol named "my_ns_package" has not been found.")
Is it something you plan to support?
The text was updated successfully, but these errors were encountered: