The following table shows which Python versions are supported by Gurobi. A red ✔ denotes which version of Python is used for the Gurobi distribution's interactive shell.
| Python | 2.7 | 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14[t] |
| Gurobi | |||||||||||
| 8.0 | ✔ | ✔ | ✔ | ||||||||
| 8.1 | ✔ | ✔ | ✔ | ✔ | |||||||
| 9.0 | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
| 9.1 | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
| 9.5 | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
| 10.0 | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
| 11.0 | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
| 12.0 | ✔ | ✔ | ✔ | ✔ | |||||||
| 12.0.[1-3] | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
| 13.0.0 | ✔ | ✔ | ✔ | ✔ | |||||||
| 13.0.[1-2] | ✔ | ✔ | ✔ | ✔ | ✔ |
Notes
- Support for free-threaded (Python) builds was introduced in Gurobi 13.0.1. It is currently available for Python 3.14t and on all supported platforms.
- For Gurobi version <= 10.0 on macOS, the interactive shell uses Python 3.9. Also note that Python 3.7 has reached end-of-life status and is not officially supported as of July 2023. For more information about software supported by Gurobi, see the list of Platforms supported by Gurobi.
- The information reported here refers to the Gurobi Optimizer when downloaded from our website. For the conda and PyPI packages, only a subset of these combinations may be available.
- The interactive shell was removed entirely in version 13, which was released in November 2025.