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
- If
run.py
callsfrom nab.detectors.numenta_detector import XXX
down the path, I don’t have any problem. - but when
numenta_detector.py
imports a module fromwhatever.py
, it goesfrom nab.detectors.whatever import YYY
. It starts from theRootFolder
and does not find it. - In
numenta_detector.py
changing tofrom whatever import YYY
works
Since the hole program is written like in (2), and the issue pops up just by debugging, how can I overcome it?
Merci!