julia> versioninfo()
Julia Version 0.5.1
Commit 6445c82 (2017-03-05 13:25 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.7.1 (ORCJIT, haswell)
I was struggling in a combat between Bio and DifferentialEquations, which were trying to downgrade each other.
Finally, I decided to initialize the Pkg in Julia 0.5.1, and had a try to add DifferentialEquations first, but I just got the following error.
julia> Pkg.status()
No packages installed
julia> Pkg.add("DifferentialEquations")
ERROR: unsatisfiable package requirements detected: no feasible version could be found for package: PolynomialFactors
(you may try increasing the value of the
JULIA_PKGRESOLVE_ACCURACY environment variable)
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at ./pkg/resolve.jl:37
Strangely, after adding some packages such as IJulia, JuMP, Atom, etc., I could add DifferentialEquations but not the latest version. Moreover, no matter how I tried, I only could install v1.5.0 even though 1.9.1 supports Julia 0.5.x.
There are too many, complex dependencies such huge packages and Iâve been totally messed up while checking so many REQUIREs. Anybody can help me?
And it should go through very soon. When that is merged, give it a try. If it doesnât work after that, then please ping me and weâll work this out!
In this situation, Pkg.add(âDifferentialEquationsâ) caused this error.
julia> Pkg.add("DifferentialEquations")
ERROR: unsatisfiable package requirements detected: no feasible version could be found for package: DiffEqParamEstim
(you may try increasing the value of the
JULIA_PKGRESOLVE_ACCURACY environment variable)
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at ./pkg/resolve.jl:37
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:495
in edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N}) at ./pkg/entry.jl:30
...
Because solving differential equations are not so urgent and I do not want to push the contributors, I am going to wait the completion of the renewal. Thank you for response.
Yeap, I always do Pkg.update() before adding any package. But sometimes I feel (not convince) that updating Github repositories is not promptly applied to Julia METADATA. Iâll try again tomorrow
To jump in here if thatâs ok, this morning Pkg.add(âDifferentialEquationsâ) indeed installed again. Is below list, e.g. DifferentialEquations.jl v"1.5.0", correct on Julia v"0.5.1"? This is after a (daily) Pkg.update().
Hmm, I just wiped .julia and install gave DifferentialEquations v1.10.1 with DiffEqBase v0.15.0. For some reason itâs giving you a really old version. Would you mind posting your Pkg.status() so I can investigate this a bit? During this update I think we ran into a package resolver bug in Pkg, and weâre still not quite sure why the downgrading is happening in some cases.
Note that if you have LSODA.jl installed, you will get downgraded. Thatâs the only case I currently know of, and it hasnât updated yet because thatâs related to this other Discourse question:
But hopefully that will get worked out soon a new version can be tagged there. For now, if you have LSODA.jl, remove it (it doesnât come standard with DifferentialEquations, so itâs only there if you intentionally installed it)
Attached the (long) list. LSODA.jl is not installed.
Iâm quite ok to wipe .julia v"0.5" to try what you did (last time I tried that was late December). Iâll hold off for now until you have had time if to scan this list and maybe would like me to try something.
Not sure if it is true for others. But doing a clean reinstall of all my Julia packages, I find that I canât have both the Juno stuff (Atom etc) and DifferentialEquations at the same time. But I can have just DiffEq stuff now if I donât install Atom!
Iâm now playing around and getting from really wild results. Example, adding and removing Plots/ImageMagick a few times, now it will sometimes downgrade after removing a package.
We should bring @tkelman in on this, but that sounds like a resolver bug to me. I looked around and donât see any package with a Juno.jl maximum version (only minimum versions), so I donât see how that could downgrade things.
Is there an easy way to query what set of version requirements caused the downgrades?
I believe it is a resolver bug, I have never been able to find an actual version compatibility conflict, and Iâve been getting these errors basically every time I try and update for weeks.