Most Python installations come with the Python package management system
“pip”. You can use pip to download and install the
gurobipy
extension simply by opening a terminal window, and issuing the
following command:
python -m pip install gurobipy
This command instructs the called Python interpreter to download
gurobipy
from the public PyPI server (https://pypi.org) and
install it into your Python environment. Note that this gurobipy
installation package is self-contained, so you can use it without any
other software installation steps.
After the installation succeeded, you should see it among the installed packages listed upon typing python -m pip list. For example:
Package Version ------------------- ----------- gurobipy 9.1.0 pip 20.2.1 setuptools 49.2.1