-
-
Notifications
You must be signed in to change notification settings - Fork 304
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
installation error #266
Comments
I've run into a similar problem installing with BlackBoxOptim.jl on master simultaneously with QuantEcon.jl. It seems like a downstream dependency of QuantEcon has a compat bound on Distributions. So far, I haven't been able to find it yet -- is this a known issue? Steps to reproduce: julia> using Pkg
julia> Pkg.activate("TestEnvironment")
julia> Pkg.add("QuantEcon")
julia> Pkg.add(PackageSpec(name="BlackBoxOptim", rev = "master"))
ERROR: Unsatisfiable requirements detected for package QuantEcon [fcd29c91]:
QuantEcon [fcd29c91] log:
├─possible versions are: 0.14.3-0.16.2 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions 0.14.3-0.16.2
├─restricted by compatibility requirements with Compat [34da2185] to versions: 0.15.0-0.16.2 or uninstalled, leaving only versions: 0.15.0-0.16.2
│ └─Compat [34da2185] log:
│ ├─possible versions are: 1.0.0-3.34.0 or uninstalled
│ └─restricted to versions 3.27.0-3 by BlackBoxOptim [a134a8b2], leaving only versions 3.27.0-3.34.0
│ └─BlackBoxOptim [a134a8b2] log:
│ ├─possible versions are: 0.6.0 or uninstalled
│ └─BlackBoxOptim [a134a8b2] is fixed to version 0.6.0
└─restricted by compatibility requirements with Distributions [31c24e10] to versions: uninstalled — no versions left
└─Distributions [31c24e10] log:
├─possible versions are: 0.16.0-0.25.16 or uninstalled
└─restricted to versions 0.24-0.25 by BlackBoxOptim [a134a8b2], leaving only versions 0.24.0-0.25.16
└─BlackBoxOptim [a134a8b2] log: see above
Stacktrace:
[1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool)
@ Pkg.Resolve /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Resolve/graphtype.jl:1048
[2] propagate_constraints! (repeats 2 times)
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Resolve/graphtype.jl:989 [inlined]
[3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool)
@ Pkg.Resolve /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Resolve/graphtype.jl:1503
[4] simplify_graph! (repeats 2 times)
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Resolve/graphtype.jl:1503 [inlined]
[5] resolve_versions!(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:405
[6] targeted_resolve(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel)
@ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1210
[7] tiered_resolve(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1196
[8] _resolve
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1216 [inlined]
[9] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Vector{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1231
[10] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Iterators.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:203
[11] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:79
[12] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:77
[13] #add#22
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:74 [inlined]
[14] add(pkg::Pkg.Types.PackageSpec)
@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:74
[15] top-level scope
@ REPL[24]:1 |
Thanks for your feedback @jacobadenbaum and @SeongDeokKo . I'm hoping @oyamad or @sglyon will have time to respond. (Also CC @jlperla.) |
Are far as I can tell, the only constraint for a compatability bound here is on DSP? https://github.com/QuantEcon/QuantEcon.jl/blob/master/Project.toml#L26 And it lower bounds it as far as I can tell? (https://pkgdocs.julialang.org/dev/compatibility/ ) But the DSP project it refers to is another animal entirely... This is the current master of the DSP project file: https://github.com/JuliaDSP/DSP.jl/blob/master/Project.toml#L17-L24 That looks like a very stringent set of constraints, so I am not surprised if the resolver can't find a feasible solution. But I could be missing somethign here. |
Hello.
version-info is
Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Pkg.status() Status
C:\Users\ksdsk.julia\environments\v1.6\Project.toml[6e4b80f9] BenchmarkTools v1.1.1 [052768ef] CUDA v3.4.0
https://github.com/JuliaGPU/CUDA.jl#master`[39dd38d3] Dierckx v0.5.1
[31c24e10] Distributions v0.25.11
[0e44f5e4] Hwloc v2.0.0
[7073ff75] IJulia v1.23.2
[a98d9a8b] Interpolations v0.13.3
[2774e3e8] NLsolve v4.5.1
[429524aa] Optim v1.4.0
[91a5bcdd] Plots v1.15.2
[438e738f] PyCall v1.92.3
[d330b81b] PyPlot v2.9.0
[6f49c342] RCall v0.13.12
[f2b01f46] Roots v1.0.11
[2913bbd2] StatsBase v0.33.8`
When I tried to install QuantEcon package I have the following messages.
add QuantEcon
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Distributions [31c24e10]:
Distributions [31c24e10] log:
├─possible versions are: 0.16.0-0.25.11 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions 0.16.0-0.25.11
├─restricted by compatibility requirements with QuantEcon [fcd29c91] to versions: 0.16.0-0.23.12
│ └─QuantEcon [fcd29c91] log:
│ ├─possible versions are: 0.14.3-0.16.2 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions 0.14.3-0.16.2
└─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: 0.24.4-0.25.11 or uninstalled — no versions left
└─SpecialFunctions [276daf66] log:
├─possible versions are: 0.7.0-1.6.0 or uninstalled
└─restricted to versions 1.3.0-1 by CUDA [052768ef], leaving only versions 1.3.0-1.6.0
└─CUDA [052768ef] log:
├─possible versions are: 3.4.0 or uninstalled
└─CUDA [052768ef] is fixed to version 3.4.0
I think this is a compatibility problem but do not know how to fix it.
How can I fix the problem?
The text was updated successfully, but these errors were encountered: