gurobipy 13.0.0b1 not available on ubuntu server 20.04 LTS, python3.9?
AnsweredI have been able to successfully install, with WLS license, gurobipy13.0.0b1 on ubuntu desktop 22.04 LTS with python3.10 by simply running python3 -m pip install gurobipy==13.0.0b1. On pypi.org I can see that gurobipy 13.0.0b1 supports also python3.9, but the same command does not install the module on a cloud server running an instance based on an ubuntu server 20.04 LTS image, under ssh. There, pip can only see gurobipy12.0.3 as the latest version, even when checking
pip index versions gurobipy --pre
When trying to install it anyway via
python3.9 -m pip install gurobipy==13.0.0b1
the following error messages appear:
-ignored the following yanked versions: 11.0.0b1, 12.0.0b3
-could not find a version that satisfies the requirements gurobipy==13.0.0b1
-no matching distributions found for gurobipy==13.0.0b1
So even though I have WLS license on the server, and I have run apt update && apt upgrade prior to try to install gurobipy13.0.0b1 and even upgraded pip to the latest version v25.0.1, from this server under ssh the pre-release does not seem available. On another server (google colab) with ubuntu server 22.04 LTS and python3.10 it installs just fine, as on my laptop. So, is there not support for either python3.9 or ubuntu 20.04 LTS with gurobipy13.0.0b1? Is this server being accessed under ssh the problem? Is there a way to add it, if support is available?
-
Hi Giordano,
I can confirm for you (via the release notes) that gurobipy 13 only provides support for Python 3.10 and above. This is, in part, motivated by Python 3.9 reaching end-of-life.
It looks like the version badge on PyPI is out of sync so thank you for bringing this to our attention.
Thank you,
Riley0
Please sign in to leave a comment.
Comments
1 comment