On macOS Monterey (macOS 12), the default python3 (/usr/bin/python3) is version 3.8.
However, Gurobi v9.1 and later only support arm64 for Python >= 3.9.
If you are on a machine with an Apple Silicon chip (for example M1) and you want to use gurobipy with a full Python distribution (not just gurobi.sh), you will need to install Python >= 3.9 for arm64 from python.org or elsewhere.
With Python >= 3.9 for arm64, both python -m pip install gurobipy and python setup.py install work fine.
Please sign in to leave a comment.