Issue
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
Solution
Answer as provided by Adrian Pop was to uninstall, restart, and reinstall OpenModelica. This fixed the error.
Answered By - HCroll
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.