Using pip to install gurobipy

Most Python installations come with the Python package management system “pip”. You can usepipto download and install thegurobipyextension simply by opening a terminal window and issuing the following command:

python -m pip install gurobipy

This command instructs the called Python interpreter to downloadgurobipyfrom the public PyPI server (https://pypi.org) and install it into your Python environment. Note that ourgurobipyinstallation package is self-contained, so you can use it without any other software installation steps.

After the installation succeeds, you should seegurobipyamong the installed packages listed upon typingpython -m pip list. For example:

Package Version ------------------- ----------- gurobipy 9.5.0 pip 20.2.1 setuptools 49.2.1

Our pip package includes a limited license that allows you to solve small optimization problems. If are an academic user, you can obtain afree, unlimited academic licensefrom our website. Otherwise, you can obtain a free evaluation license by contactingsales@gurobi.com.