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 |
Gurobi | |||||||||
8.0 | ✔ | ✔ | ✔ | ||||||
8.1 | ✔ | ✔ | ✔ | ✔ | |||||
9.0 | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
9.1 | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
9.5 | ✔ | ✔ | ✔ | ✔ |
✔ |
|
|
||
10.0 | ✔ | ✔ | ✔ |
✔ |
✔ |
|
|||
11.0 | ✔ | ✔ |
✔ |
✔ |
✔ |
Please note that 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.
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.
Please note that starting with version 11.0.2, the Gurobi Interactive Shell has been deprecated.
Further information
- How do I install Gurobi for Python?
- How do I resolve common installation issues with the Gurobi Python Interface: gurobipy?
- How do I resolve the error "UnsatisfiableError" when using conda install?
- How do I update my Gurobi installation to a newer version?
- How do I resolve the error "Could not open PYTHONSTARTUP"?
- Platforms supported by Gurobi
Comments
0 comments
Article is closed for comments.