billowy-motherboard-58443
09/21/2020, 2:56 PM["/", "/real-ns"]
I get the E ModuleNotFoundError: No module named 'real-ns'
hundreds-father-404
09/21/2020, 4:13 PM["/"]
. It depends on how your Python imports work.
If you have the code path/to/ns/util/foo
, are you importing in your Python this:
path.to.ns.util.foo
or this:
ns.util.foo
If the former, then "/"
is the correct source root. if the latter, then your source root should be “path/to”, so that it gets “stripped” off