Skip to content

ModuleNotFound in model linearization #196

Description

@PT-Traviresta

fromlinearized_modelimportlinearized_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))
fromlinearized_modelimportlinearized_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