Install OR-Tools

Google created OR-Tools in C++, but you can also use it with Python, Java, or C# (on the .NET platform).

Install OR-Tools for Python

If you already have Python 2.7 or 3.5+ installed (as well as the Python package manager, PIP), the easiest way to install OR-Tools is as follows:

python -m pip install --upgrade --user ortools

After the installation is complete, you are ready to get started with OR-Tools for Python.

Installation instructions for all supported languages

For instructions on installing the latest version of OR-Tools, as well as the required prerequisites, click one of the buttons below:

OR-Tools for C++ OR-Tools for Python OR-Tools for Java OR-Tools for C# (.NET)

Download OR-Tools

If you're already familiar with installing OR-Tools and just want to download the latest version, you can get it either from a binary distribution or the source files.

If you need to install an older version, the OR-Tools release page has links to downloads for past releases.

Binary distributions

Below are links to the OR-Tools binary distributions by language and platform.


The easiest way to install OR-Tools for Python is from the command line, as shown above. However, if you prefer, you can install OR-Tools from one of the Python wheel files.

C++, Java or C#


Source files

To get the source files for the latest release of OR-Tools, you can either:

Envoyer des commentaires concernant…