The JModelica.org Python packages requires some additional Python packages in order to run correctly. Use the function <package>.check_packages(), where <package> is either pymodelica, pyfmi or pyjmi, to list which Python packages that are found on your computer. Missing or having the wrong version of a package can be a
source of errors. Therefore it can be useful to run <package>.check_packages() after installation or when trouble-shooting.
# Import the function from pyfmi from pyfmi import check_packages # Run check_packages check_packages() Performing pyfmi package check ============================== Platform...................... win32 Python version:............... 2.7.2 Dependencies: Package Version ------- ------- numpy......................... 1.6.1 Ok scipy......................... 0.9.0 Ok matplotlib.................... 1.0.1 Ok lxml.......................... 2.3.0 Ok assimulo...................... n/a Ok wxPython...................... 2.8.12.1 Ok pyreadline.................... 1.7 Ok setuptools.................... 0.6c11 Ok