Skip to content

ModuleNotFound in model linearization #196

@PT-Traviresta

Description

@PT-Traviresta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions