I get following unsatisfiable requirement error when installing mamba
ERROR: Unsatisfiable requirements detected for package Mamba [5424a776]:
Mamba [5424a776] log:
├─possible versions are: 0.12.0-0.12.5 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions: 0.12.0-0.12.5
└─restricted by compatibility requirements with Distributions [31c24e10] to versions: uninstalled — no versions left
└─Distributions [31c24e10] log:
├─possible versions are: 0.16.0-0.25.111 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions: 0.16.0-0.25.111
└─restricted by compatibility requirements with SliceSampling [43f4d3e8] to versions: 0.25.0-0.25.111
└─SliceSampling [43f4d3e8] log:
├─possible versions are: 0.1.0-0.6.0 or uninstalled
└─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.6.0
Can you share the output of:
using Pkg
Pkg.status()
Does it work if you create a new project:
mkdir test
cd test
julia --project="."
and then in Julia
using Pkg
pkg"add Mamba"
?
Status ~/.julia/environments/v1.10/Project.toml
[208e7efd] ABCdeZ v0.4.0
⌅ [c29ec348] AbstractDifferentiation v0.5.3
[80f14c24] AbstractMCMC v5.2.0
[0bf59076] AdvancedHMC v0.6.1
[46ada45e] Agents v6.1.4
[6e4b80f9] BenchmarkTools v1.5.0
⌃ [76274a88] Bijectors v0.13.12
[336ed68f] CSV v0.10.14
[13f3f980] CairoMakie v0.12.7
[324d7699] CategoricalArrays v0.10.8
[69e1c6dd] CellListMap v0.9.6
⌃ [11b7dee7] CellularPotts v0.3.0
[a93c6f00] DataFrames v1.6.1
[459566f4] DiffEqCallbacks v3.8.0
[0c46a032] DifferentialEquations v7.13.0
[b4f34e82] Distances v0.10.11
⌃ [31c24e10] Distributions v0.25.110
[366bfd00] DynamicPPL v0.28.4
⌃ [61744808] DynamicalSystems v3.3.19
[1fa38f19] Format v1.3.7
[f6369f11] ForwardDiff v0.10.36
[e9467ef8] GLMakie v0.10.7
[c91e804a] Gadfly v1.4.0
[5c1252a2] GeometryBasics v0.4.11
[e850a1a4] GpABC v0.1.1
[7073ff75] IJulia v1.25.0
[7f56f5a3] LSODA v0.7.5
[b964fa9f] LaTeXStrings v1.3.1
[2ee39098] LabelledArrays v1.16.0
[7ed4a6bd] LinearSolve v2.33.0
[6fdf6af0] LogDensityProblems v2.1.1
[c7f686f2] MCMCChains v6.0.6
[eff96d63] Measurements v2.11.0
[442fdcdd] Measures v0.3.2
⌃ [eacbb407] Meshes v0.49.1
[43b88160] MuseInference v0.2.4
[77ba4419] NaNMath v1.0.2
⌃ [1dea7af3] OrdinaryDiffEq v6.87.0
[8314cec4] PGFPlotsX v1.6.1
[0eb8d820] Pigeons v0.4.4
[91a5bcdd] Plots v1.40.5
[92933f4c] ProgressMeter v1.10.2
⌃ [6099a3de] PythonCall v0.9.22
[37e2e3b7] ReverseDiff v1.15.3
[1ed8b502] SciMLSensitivity v7.65.0
[aed68c70] SkipNan v0.2.0
[fc65d762] Skipper v0.1.13
[43f4d3e8] SliceSampling v0.6.0
[90137ffa] StaticArrays v1.9.7
⌅ [2913bbd2] StatsBase v0.33.21
[f3b207a7] StatsPlots v0.15.7
[c3572dad] Sundials v4.25.0
[5d786b92] TerminalLoggers v0.1.7
[fce5fe82] Turing v0.33.3
[770da0de] UpdateJulia v0.4.4
[e88e6eb3] Zygote v0.6.70
[8ba89e20] Distributed
[37e2e46d] LinearAlgebra
[9a3f8284] Random
[9e88b42a] Serialization
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use status --outdated
yes it works with new project.
Please read: Working with Julia projects | Julia programming notes
It is a good idea to create a new Julia project for each new programming project. If you are not doing that you pollute your global environment with a lot of packages that you probably don’t need any longer. And then you will have problems to install new packages.
3 Likes