Skip to content

when i build a FMU with third dependencies like "torch" and begin to simulate in simulink.Something wrong. #235

@wangyue-cell

Description

@wangyue-cell

Debug Logging enabled for block fmu_test/FMU

Log from FMU: [category:, status:fmi2Fatal] Fatal py exception encountered: [ctor] findClass
ModuleNotFoundError("No module named 'torch'")
i build FMU with (pythonfmu build -f mytest.py requirements.txt resources),there are numpy,torch,deepxde in the requirements.txt and some necessary file in the resources.
i deploy FMU with (pythonfmu deploy -f Resistor.fmu)
hope to get some advice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions