QuantLib.jl icon indicating copy to clipboard operation
QuantLib.jl copied to clipboard

ERROR: Unsatisfiable requirements detected for package SortingAlgorithms [a2af1166]:

Open thuberman1 opened this issue 9 months ago • 0 comments

Hi,

I get the following error when adding Pkg.add("QuantLib"). Any ideas?

Resolving package versions... ERROR: Unsatisfiable requirements detected for package SortingAlgorithms [a2af1166]: SortingAlgorithms [a2af1166] log: ├─possible versions are: 0.3.0-1.2.1 or uninstalled ├─restricted to versions * by an explicit requirement, leaving only versions: 0.3.0-1.2.1 ├─restricted by julia compatibility requirements to versions: 1.1.0-1.2.1 or uninstalled, leaving only versions: 1.1.0-1.2.1 └─restricted by compatibility requirements with StatsBase [2913bbd2] to versions: 0.3.0-0.3.2 — no versions left └─StatsBase [2913bbd2] log: ├─possible versions are: 0.24.0-0.34.5 or uninstalled ├─restricted to versions * by an explicit requirement, leaving only versions: 0.24.0-0.34.5 └─restricted by compatibility requirements with QuantLib [96a2b5a2] to versions: 0.24.0-0.32.2 └─QuantLib [96a2b5a2] log: ├─possible versions are: 0.1.0-0.1.1 or uninstalled └─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.1.1 Stacktrace: [1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool) @ Pkg.Resolve C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1072
[2] propagate_constraints! (repeats 2 times) @ C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1008 [inlined]
[3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool) @ Pkg.Resolve C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1533
[4] simplify_graph! (repeats 2 times) @ C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1532 [inlined]
[5] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, julia_version::VersionNumber, installed_only::Bool)
@ Pkg.Operations C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:407 [6] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber) @ Pkg.Operations C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1360 [7] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, julia_version::VersionNumber, try_all_installed::Bool)
@ Pkg.Operations C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1349 [8] _resolve(io::Base.TTY, env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber) @ Pkg.Operations C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1370 [9] add(ctx::Pkg.Types.Context, pkgs::Vector{…}, new_git::Set{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform) @ Pkg.Operations C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1387 [10] add @ C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1376 [inlined] [11] add(ctx::Pkg.Types.Context, pkgs::Vector{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{…}) @ Pkg.API C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:278 [12] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{}) @ Pkg.API C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:159 [13] add(pkgs::Vector{Pkg.Types.PackageSpec}) @ Pkg.API C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:148 [14] add @ C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined] [15] add(pkg::String) @ Pkg.API C:\Users\tom_h.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:146 [16] top-level scope @ REPL[11]:1 Some type information was truncated. Use show(err) to see complete types.

thuberman1 avatar Jul 27 '25 18:07 thuberman1