Before going big with Stackoverflow, I hope you can help me.
I am debugging the HTM algorithm in
NAB using Virtual Studio Code (VSC)
Supposing this is the (simplified) structure of the program:
run.py nab |- base.py |- detectors |- numenta_detector.py |- whatever.py
from nab.detectors.numenta_detector import XXXdown the path, I don’t have any problem.
- but when
numenta_detector.pyimports a module from
whatever.py, it goes
from nab.detectors.whatever import YYY. It starts from the
RootFolderand does not find it.
from whatever import YYYworks
Since the hole program is written like in (2), and the issue pops up just by debugging, how can I overcome it?