Skip to main content

version 9.5.0

Answered

Comments

5 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Adem,

    In Anaconda Navigator, you work with different environments. To update gurobipy for your base(root) environment, please click on the green "play" button next to base(root). This should open a command window. In this window you can execute

    pip install gurobipy --upgrade

    This should install the latest version of gurobipy. After the update is complete, you can type \(\texttt{exit}\) and close the command window. Then, click "Update index..." to update the Anaconda Navigator index.

    Best regards,
    Jaromił

    0
  • Adem akgül
    Gurobi-versary
    First Comment
    First Question

    Hi Jaromil, thank you, it has worked. Why there are two packages, gurobipy and gurobi. Are they identical? What is the difference?

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Adem,

    In the table you see, the "T" column defines the type of package. The green Anaconda circle stands for "conda" package and the Python sign stands for "pip" package, cf. Anaconda navigator documentation. The default settings of Anaconda navigator use the pip package whenever you execute Python code from an Anaconda navigator UI, e.g., Spyder. Please note that gurobipy is the Python installation of Gurobi only. The conda package is used when you explicitly call Gurobi through a conda environment, this usually does not happen. It is still best to have both package up to date.

    Best regards,
    Jaromił

    0
  • Adem akgül
    Gurobi-versary
    First Comment
    First Question

    Thank you very much Jaromil. Best wishes.

    0

Post is closed for comments.