Skip to content

Installation

Requirements

  • Python 3.11 – 3.14
  • Platform support:
    • Windows: AMD64
    • Linux: x86_64 (glibc 2.28 or newer, manylinux_2_28)
    • macOS: Apple Silicon (arm64), macOS 15.0 or newer (1.14.x wheels run on 14.0); Intel (x86_64), macOS 15.0 or newer
  • PyTorch: Algorithms require a compatible PyTorch installation. Use the PyTorch selector to install the appropriate version for your system.

Note

Building from source is presently not supported.

Install

Install DynaPlex using pip:

pip install dynaplex

Or install with all optional dependencies:

pip install "dynaplex[complete]"

Note

The quotes are required in some shells (notably zsh, the default on macOS), where square brackets would otherwise be interpreted as a pattern-matching expression.

Note

Even with a complete install, separate installation of PyTorch is still required for the RL algorithms.

Next steps

Once you have DynaPlex installed, verify your installation, then start with the introduction to MDPs or dive right into the tutorials.