@kfurmanska wrote:
I try to install PiecewiseLinearOpt package, but it gets into conflict with other Julia packages. Firstly, it highlighed JuMP:
julia> Pkg.add("PiecewiseLinearOpt") Resolving package versions... ERROR: Unsatisfiable requirements detected for package PiecewiseLinearOpt [0f51c51e]: PiecewiseLinearOpt [0f51c51e] log: ├─possible versions are: 0.2.1 or uninstalled ├─restricted to versions * by an explicit requirement, leaving only versions 0.2.1 └─restricted by compatibility requirements with JuMP [4076af6c] to versions: uninstalled — no versions left └─JuMP [4076af6c] log: ├─possible versions are: [0.18.3-0.18.6, 0.19.0-0.19.2, 0.20.0] or uninstalled └─restricted to versions 0.20.0 by an explicit requirement, leaving only versions 0.20.0
Following the advice on the topic below, I’ve uninstalled JuMP (although I have version 0.20.0) and tried to install PiecewiseLinearOpt package first, but then it conflicts with other package…
julia> Pkg.add("PiecewiseLinearOpt") Resolving package versions... ERROR: Unsatisfiable requirements detected for package MathOptInterface [b8f27783]: MathOptInterface [b8f27783] log: ├─possible versions are: [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.5] or uninstalled ├─restricted by compatibility requirements with PiecewiseLinearOpt [0f51c51e] to versions: 0.8.0-0.8.4 │ └─PiecewiseLinearOpt [0f51c51e] log: │ ├─possible versions are: 0.2.1 or uninstalled │ └─restricted to versions * by an explicit requirement, leaving only versions 0.2.1 └─restricted by compatibility requirements with GLPK [60bf3e95] to versions: 0.9.1-0.9.5 — no versions left └─GLPK [60bf3e95] log: ├─possible versions are: [0.6.1, 0.7.0, 0.8.0-0.8.3, 0.9.0-0.9.1, 0.10.0, 0.11.0-0.11.4, 0.12.0] or uninstalled └─restricted to versions 0.11.4 by an explicit requirement, leaving only versions 0.11.4
See the aforementioned topic in here:
Is there any safe way to install it instead of removing packages from here and there and installing them back?
I’m working on Windows 10, Julia 1.2.0
Posts: 1
Participants: 1