Skip to content

Update Python script to OMPython 4.0.0 #243

@AnHeuermann

Description

@AnHeuermann

Issue

OMPython 4 no longer has function FindBestOMCSession.

File \"/OpenModelicaLibraryTesting/testmodel.py\", line 8, in <module>
        from OMPython import FindBestOMCSession, OMCSession, OMCSessionZMQ
 ImportError: cannot import name 'FindBestOMCSession' from 'OMPython'

We need to fix OMPython to 3.6 or update the scripts to work with 4.0.

Metadata

Metadata

Assignees

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