version 9.5.0
AnsweredHi, I have gurobi 9.0.3 version on my computer. I'm using Anaconda distribution for Gurobi Python API. Do I need to reinstall version 9.5.0 from scratch or update gurobi module to 9.5.0 through Anaconda. As you might see in the attached print screen file, there are two gurobi modules on anaconda. As far as I know, I need to select gurobipy, which is not convenient for uptating. What is gurobi package, which is the latest version, on printscreen.What am I supposed to do to install version 9.5.0. Thanks in advance.
-
Official comment
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?. -
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 -
Hi Jaromil, thank you, it has worked. Why there are two packages, gurobipy and gurobi. Are they identical? What is the difference?
0 -
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 -
Thank you very much Jaromil. Best wishes.
0
Post is closed for comments.
Comments
5 comments