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 | Python 3.5 | Python 3.6 | Python 3.7 | Python 3.8 | Python 3.9 | |
Gurobi 8.0.x | ✔ | ✔ | ✔ | |||
Gurobi 8.1.x | ✔ | ✔ | ✔ | ✔ | ||
Gurobi 9.0.x | ✔ | ✔ | ✔ | ✔ | ✔ | |
Gurobi 9.1.x | ✔ | ✔ | ✔ | ✔ | ✔ |
For more information about software supported by Gurobi, see the list of Platforms supported by Gurobi.
Note: 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.