I am trying to run OMPython and I am experiencing an error running the example shown at https://openmodelica.org.
I can run the first line:
from OMPython import OMCSessionZMQ
But when I try to run the second line:
omc = OMCSessionZMQ()
I get the error:
FileNotFoundError: [WinError 2] The system cannot find the file specified
Has anyone experienced this error before? I believe I have my environment variables set correctly but I am not sure.
Thank you
Answer as provided by Adrian Pop was to uninstall, restart, and reinstall OpenModelica. This fixed the error.