4. Checking your installation

The JModelica.org Python packages require some third-party Python packages in order to run. 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 pyjmi
pyjmi.check_packages()

Performing pymodelica/pyjmi package check
=========================================

Platform...................... win32

Python version:............... 2.7.3

pymodelica/pyjmi version:..... 1.12


Dependencies:

Package                        Version
-------                        -------
assimulo...................... --
casadi........................ 1.7.0
Cython........................ 0.18
jpype......................... --
lxml.......................... 3.1.0
matplotlib.................... 1.2.0
nose.......................... 1.2.1
numpy......................... 1.6.2
scipy......................... 0.11.0
wxPython...................... 2.8.12.1
pyreadline.................... 1.7.1
setuptools.................... 0.6