|
from linearized_model import linearized_model |
I ran a script file and had the problem of ModuleNotFound when importing linearized_model.
My solution is to modify __init__.py and append the analysis folder to sys.path
sys.path.append(os.path.dirname(linearFile))
from linearized_model import linearized_model