Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsatisfiable requirements #184

Closed
hei06j opened this issue Oct 22, 2019 · 4 comments
Closed

Unsatisfiable requirements #184

hei06j opened this issue Oct 22, 2019 · 4 comments

Comments

@hei06j
Copy link
Contributor

hei06j commented Oct 22, 2019

I am a colleague of @frederikgeth in CSIRO. I am trying to use PowerModelsDistribution in developer mode, but got the following error:

ERROR: Unsatisfiable requirements detected for package InfrastructureModels [2030c09a]:
 InfrastructureModels [2030c09a] log:
 ├─possible versions are: [0.0.9-0.0.16, 0.2.0-0.2.2, 0.3.0-0.3.2] or uninstalled
 ├─restricted to versions 0.2.0-0.2 by PowerModelsDistribution [d7431456], leaving only versions 0.2.0-0.2.2
 │ └─PowerModelsDistribution [d7431456] log:
 │   ├─possible versions are: 0.5.0 or uninstalled
 │   └─PowerModelsDistribution [d7431456] is fixed to version 0.5.0
 └─restricted to versions 0.3.2 by an explicit requirement — no versions left

The package status are:

(v1.1) pkg> status
    Status `C:\Users\hei06j\.julia\environments\v1.1\Project.toml`
  [c52e3926] Atom v0.11.1
  [6e4b80f9] BenchmarkTools v0.4.3
  [a076750e] CPLEX v0.5.0
  [336ed68f] CSV v0.5.13
  [9961bab8] Cbc v0.6.3
  [861a8166] Combinatorics v0.7.0
  [a93c6f00] DataFrames v0.19.4
  [0c46a032] DifferentialEquations v6.8.0
  [7073ff75] IJulia v1.20.0
  [2030c09a] InfrastructureModels v0.3.2
  [b6b21f68] Ipopt v0.5.4
  [1c8ee90f] IterableTables v0.11.0
  [4076af6c] JuMP v0.19.2
  [2ddba703] Juniper v0.4.3
  [e5e0dc1b] Juno v0.7.2
  [b8f27783] MathOptInterface v0.8.4
  [f28f55f0] Memento v0.12.1
  [6405355b] Mosek v1.0.4
  [1ec41992] MosekTools v0.8.0
  [0f51c51e] PiecewiseLinearOpt v0.2.1
  [91a5bcdd] Plots v0.27.0
  [c36e90e8] PowerModels v0.13.0
  [d7431456] PowerModelsDistribution v0.6.0
  [d330b81b] PyPlot v2.8.2
  [60ddc479] StatPlots v0.9.2
  [9e3dc215] TimeSeries v0.16.0
  [209c9289] TimeSeriesResampler v0.2.0
  [37e2e46d] LinearAlgebra

Even though PMD 0.6.0 is installed, the package manager complains about 0.5.0?

@pseudocubic
Copy link
Collaborator

I believe this will have something to do with a previously existing folder for PowerModelsDistribution in the dev folder that is checked out at a previous version. Dev folders don't seem to get deleted even if you free / remove the package. If you manually delete that folder and try again I think it should work.

@ccoffrin
Copy link
Member

@hei06j this sounds like a Julia package manager issue rather than a PowerModelsDistribution issue. If David's suggestion does not resolve the problem, you might try clearing out your ".julia" directory and rebuilding your environment. You could also try inquiring on https://discourse.julialang.org/.

@hei06j
Copy link
Contributor Author

hei06j commented Oct 23, 2019 via email

@ccoffrin
Copy link
Member

Glad to hear it. I will close this issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants