Hi,
When trying to install DSDP.jl using the command below, I get the error below about incompatible versions for MathOptInterface
. How would I resolve this?
I have version 0.99 of MathOptInterface
and version 1.3.0
of Julia. Confusingly, DSDP.jl seems to require version 0.8 or 0.9 of MathOptInterface
(in line with this issue MathOptInterface installation? Is it a problem with JuMP 0.19.2 and Julia version 1.2.0? · Issue #61 · jump-dev/Clp.jl · GitHub), so I don’t see what the problem might be…
Command
using Pkg
Pkg.add(PackageSpec(url="https://github.com/joehuchette/DSDP.jl.git"))
Error
julia> Pkg.add(PackageSpec(url="https://github.com/joehuchette/DSDP.jl.git"))
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating git-repo `https://github.com/joehuchette/DSDP.jl.git`
[ Info: Assigning UUID 91c74d97-168f-557e-8dc5-35017b1487d4 to DSDP
Updating git-repo `https://github.com/joehuchette/DSDP.jl.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package MathOptInterface [b8f27783]:
MathOptInterface [b8f27783] log:
├─possible versions are: 0.9.9 or uninstalled
├─MathOptInterface [b8f27783] is fixed to version 0.9.9
└─restricted to versions 0.8 by DSDP [91c74d97] — no versions left
└─DSDP [91c74d97] log:
├─possible versions are: 0.0.0 or uninstalled
└─DSDP [91c74d97] is fixed to version 0.0.0
Stacktrace:
[1] check_constraints(::Pkg.GraphType.Graph) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/GraphType.jl:937
[2] Pkg.GraphType.Graph(::Dict{Base.UUID,Set{VersionNumber}}, ::Dict{Base.UUID,Dict{Pkg.Types.VersionRange,Dict{String,Base.UUID}}}, ::Dict{Base.UUID,Dict{Pkg.Types.VersionRange,Dict{String,Pkg.Types.VersionSpec}}}, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}, ::Bool) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/GraphType.jl:364
[3] deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:437
[4] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:320
[5] #add#112(::Bool, ::Pkg.BinaryPlatforms.MacOS, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1010
[6] #add at ./none:0 [inlined]
[7] #add#25(::Bool, ::Pkg.BinaryPlatforms.MacOS, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:102
[8] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:72
[9] #add#20 at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:69 [inlined]
[10] add(::Pkg.Types.PackageSpec) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:66
[11] top-level scope at REPL[5]:1