There are two options for installing Chrono::PyEngine on your computer, A) or B). The first is for users that are not interested in the C++ API.
A) Install precompiled Python modules
For users that do not want to install the entire Chrono::Engine API there is a precompiled installer. Do this:
- download and install Python (only Python version 3.2 or greater is supported)
- download and install the Chrono::PyEngine module for Python, using the installer in our download section.
B) Build Python modules from the C++ API
Advanced users that use the entire Chrono::Engine C++ API can build Chrono::PyEngine from scratch. This is the preferred way to have the most updated Chrono::PyEngine, but it is more complicated. Do this:
- install the Chrono API with C++ source code and build it,
- install Python (only Python version 3.2 or greater is supported)
- build the Chrono::PyEngine module, following these instructions
NOTE. Precompiled binaries of Numpy and Matplotlib for Python 3.2 can be downloaded from the unofficial repository. A faster option is to install the entire SciPy stack that includes both. Otherwise there is a custom Python distribution called Enthough that already includes the two packages.