- Install PythonXY using default options.
- Start the JModelica install. When given a choice on where install, choose C:\.
- Add a path file to the site-packages directory in python. In a default install of PythonXY, the location is “C:\Python26\Lib\site-packages”. The name of the file should be “jmodelica.pth”. The contents of the file is a single line “C:\JModelica.org-1.5\Python”. To understand how Python paths work, see this reference.
- Open “C:\JModelica.org-1.5\setenv.bat” with a text editor. Manually set all of the environment variables in your system to match the environment variables defined in this file.
- Start a python interpreter in PythonXY.
- Follow the direction for testing in “C:\JModelica.org-1.5\README.TXT”. The tests should complete successfully.
This approach also works with JModelica 1.6 and PythonXY 2.7.2.
Simply substitute "JModelica.org-1.6" for "JModelica.org-1.5" in the above steps.