Skip to main content

How do I install Gurobi for Python?

Comments

4 comments

  • Marthe Steffen

    I do not understand how to access setup.py as my Gurobi Optimizer package is a .pkg file? I first used pip to install Gurobi, but my model was too large. Now I am trying to use the full installer without size limitations. 

    0
  • Gwyneth Butera
    Gurobi Staff

    A .pkg file is an installer file for MacOS. You start the Gurobi package installation by double-clicking on the file. Once the package is installed, you can find setup.py in your \(\texttt{<installdir>}\).

    0
  • Marthe Steffen

    How can I find my <installdir>? The .pkg file is dowloaded to "Downloads" by default. After I run the installation process using the .pkg file, there are no files to be found in the "Downloads" folder. 

    0
  • Matthias Miltenberger
    Gurobi Staff

    Hi Marthe,

    For a default Mac install, Gurobi 10.0.1 will be installed in the directory \(\texttt{/Library/gurobi1001}\). The \(\texttt{<installdir>}\) is \(\texttt{/Library/gurobi1001/macos_universal2}\).

    Cheers,
    Matthias

    0

Article is closed for comments.