Error building `Gurobi
AnsweredBuilding Gurobi → `C:\Users\yalwesa1\.julia\packages\Gurobi\BAtIN\deps\build.log` ┌ Error: Error building `Gurobi`: │ ERROR: LoadError: Unable to locate Gurobi installation. If the advice above did not help, │ open an issue at https://github.com/jump-dev/Gurobi.jl and post the full │ print-out of this diagnostic attempt. │ │ Stacktrace: │ [1] error(::String) at .\error.jl:33 │ [2] top-level scope at C:\Users\yalwesa1\.julia\packages\Gurobi\BAtIN\deps\build.jl:165 │ [3] include(::String) at .\client.jl:457 │ [4] top-level scope at none:5 │ in expression starting at C:\Users\yalwesa1\.julia\packages\Gurobi\BAtIN\deps\build.jl:159 │ │ **Unable to locate Gurobi installation. Running some common diagnostics.** │ │ Gurobi.jl only supports the following versions: │ │ - gurobi91 │ - gurobi90 │ │ Did you download and install one of these versions from gurobi.com? │ Installing Gurobi.jl via the Julia package manager is _not_ sufficient! │ │ Found GUROBI_HOME = C:\gurobi1101\win64 │ │ Does this point to the correct install location? │ │ We're going to look for the Gurobi library in this directory: │ C:\gurobi1101\win64\bin │ │ That directory has the following files: │ │ - C:\gurobi1101\win64\bin\Gurobi110.NET.XML
0
-
Hi Yaseen,
The error message states exactly what is wrong.
│ Gurobi.jl only supports the following versions: │ │ - gurobi91 │ - gurobi90
So your Gurobi Julia installation supports only Gurobi v9.1 and v9.0 but the Julia installation finds only Gurobi v11 which is not supported.
│ Did you download and install one of these versions from gurobi.com? │ Installing Gurobi.jl via the Julia package manager is _not_ sufficient! │ │ Found GUROBI_HOME = C:\gurobi1101\win64 │ │ Does this point to the correct install location? │ │ We're going to look for the Gurobi library in this directory: │ C:\gurobi1101\win64\bin
So you either have to update your Gurobi.jl installation or downgrade your Gurobi installation.
In general, this questions seems to be more relevant for the Julia community forum rather than a Gurobi related forum. I would recommend checking the Julia forum and FAQ.
Best regards,
Jaromił0
Please sign in to leave a comment.
Comments
1 comment