Sample codes do not run in my environment #173
Unanswered
yusuke-shimono
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Python and any scripts it needs to be available globally. Furthermore, the Python version potentially used in the host application needs to match the one linked with PythonFMU. This makes it difficult or even impossible to run in some hosts that themselves links with Python. Linux is tricky as the Python environment must match exactly. If installed with pip that would be x64 v3.9. On Windows, x64 3.x >= 3.6 should work. You could test other importers to see if MATLAB is the issue (i.e. if it bundles its own incompatible Python). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm interested in PythonFMU, and try to use it in my PC.
I installed PythonFMU and build FMUs by sample codes (examples/demoslave.py and Example in README.md)
However, they don't run in 1D-simulation tools like as MATLAB.
Could you tell me how to check FMU is built correctly, and the environment required to run FMU which build by PythonFMU?
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions