Unsatisfiable requirements error when adding Clarabel.jl thru package manager

I went to add Clarabel.jl thru the package manager and received the following error message

ERROR: Unsatisfiable requirements detected for package Clarabel [61c947e1]:
 Clarabel [61c947e1] log:
 ├─possible versions are: [0.1.0-0.1.2, 0.2.0, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.1, 0.6.0, 0.7.0-0.7.1] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.1.0-0.1.2, 0.2.0, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.1, 0.6.0, 0.7.0-0.7.1]
 └─restricted by compatibility requirements with MathOptInterface [b8f27783] to versions: uninstalled — no versions left
   └─MathOptInterface [b8f27783] log:
     ├─possible versions are: [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9, 1.0.0-1.0.2, 1.1.0-1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0-1.6.1, 1.7.0, 1.8.0-1.8.2, 1.9.0, 1.10.0, 1.11.0-1.11.5, 1.12.0, 1.13.0-1.13.2, 1.14.0-1.14.1, 1.15.0-1.15.1, 1.16.0, 1.17.0-1.17.1, 1.18.0, 1.19.0, 1.20.0-1.20.1, 1.21.0, 1.22.0, 1.23.0, 1.24.0, 1.25.0-1.25.3, 1.26.0, 1.27.0-1.27.1] or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9, 1.0.0-1.0.2, 1.1.0-1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0-1.6.1, 1.7.0, 1.8.0-1.8.2, 1.9.0, 1.10.0, 1.11.0-1.11.5, 1.12.0, 1.13.0-1.13.2, 1.14.0-1.14.1, 1.15.0-1.15.1, 1.16.0, 1.17.0-1.17.1, 1.18.0, 1.19.0, 1.20.0-1.20.1, 1.21.0, 1.22.0, 1.23.0, 1.24.0, 1.25.0-1.25.3, 1.26.0, 1.27.0-1.27.1]
     ├─restricted by compatibility requirements with LinearAlgebra [37e2e46d] to versions: [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9, 1.0.0-1.0.2, 1.1.0-1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0-1.6.1, 1.7.0, 1.8.0-1.8.2, 1.9.0, 1.10.0, 1.11.0-1.11.5, 1.12.0, 1.13.0-1.13.2, 1.14.0-1.14.1, 1.15.0-1.15.1, 1.16.0, 1.17.0-1.17.1, 1.18.0, 1.19.0, 1.20.0-1.20.1, 1.21.0] or uninstalled, leaving only versions: [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9, 1.0.0-1.0.2, 1.1.0-1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0-1.6.1, 1.7.0, 1.8.0-1.8.2, 1.9.0, 1.10.0, 1.11.0-1.11.5, 1.12.0, 1.13.0-1.13.2, 1.14.0-1.14.1, 1.15.0-1.15.1, 1.16.0, 1.17.0-1.17.1, 1.18.0, 1.19.0, 1.20.0-1.20.1, 1.21.0]
     │ └─LinearAlgebra [37e2e46d] log:
     │   ├─possible versions are: 1.5.3 or uninstalled
     │   └─restricted to versions * by an explicit requirement, leaving only versions 1.5.3
     ├─restricted by julia compatibility requirements to versions: [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9] or uninstalled, leaving only versions: [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9]
     └─restricted by compatibility requirements with MosekTools [1ec41992] to versions: [0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9, 1.0.0-1.0.2, 1.1.0-1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0-1.6.1, 1.7.0, 1.8.0-1.8.2, 1.9.0, 1.10.0, 1.11.0-1.11.5, 1.12.0, 1.13.0-1.13.2, 1.14.0-1.14.1, 1.15.0-1.15.1, 1.16.0, 1.17.0-1.17.1, 1.18.0, 1.19.0, 1.20.0-1.20.1, 1.21.0, 1.22.0, 1.23.0, 1.24.0, 1.25.0-1.25.3, 1.26.0, 1.27.0-1.27.1], leaving only versions: [0.8.0-0.8.4, 0.9.0-0.9.22, 0.10.0-0.10.9]
       └─MosekTools [1ec41992] log:
         ├─possible versions are: [0.6.0, 0.7.0-0.7.7, 0.8.0, 0.9.0-0.9.4, 0.10.0, 0.11.0, 0.12.0-0.12.1, 0.13.0-0.13.4, 0.14.0, 0.15.0-0.15.1] or uninstalled
         ├─restricted to versions * by an explicit requirement, leaving only versions [0.6.0, 0.7.0-0.7.7, 0.8.0, 0.9.0-0.9.4, 0.10.0, 0.11.0, 0.12.0-0.12.1, 0.13.0-0.13.4, 0.14.0, 0.15.0-0.15.1]
         ├─restricted by julia compatibility requirements to versions: [0.6.0, 0.7.0-0.7.7, 0.8.0, 0.9.0-0.9.4, 0.10.0, 0.11.0] or uninstalled, leaving only versions: [0.6.0, 0.7.0-0.7.7, 0.8.0, 0.9.0-0.9.4, 0.10.0, 0.11.0]
         └─restricted by compatibility requirements with MathOptInterface [b8f27783] to versions: [0.6.0, 0.7.0-0.7.6, 0.8.0, 0.9.0-0.9.4, 0.10.0, 0.11.0] or uninstalled, leaving only versions: [0.6.0, 0.7.0-0.7.6, 0.8.0, 0.9.0-0.9.4, 0.10.0, 0.11.0]
           └─MathOptInterface [b8f27783] log: see above

I understand that there is some satisfiability issues when installing Clarabel.jl. I’m slightly unsure how to read the error message, but from what I can tell the compatibility requirements are coming from LinearAlgebra.jl, MosekTools.jl, and MathOptInterface.jl. This is surprising to me since I would assume these packages are frequently used together. I updated all of the above packages.

I suspect the error is an issue on my end and not with Clarabel.jl, but I’m not entirely sure. Any advice on how to fix this issue would be very helpful!

Which version of Julia are you using? Did you try another (recent) version of Julia?

1 Like

Hi Christopher,

Great to see some causal inference folks in the community! The error message is indeed curious, I don’t immediately see what’s going wrong here and was able to successfully add all the packages in a new environment:

(jl_axSkKE) pkg> st
Status `/tmp/jl_axSkKE/Project.toml`
  [61c947e1] Clarabel v0.7.1
  [b8f27783] MathOptInterface v1.27.1
  [1ec41992] MosekTools v0.15.1
  [37e2e46d] LinearAlgebra

The mention of a LinearAlgebra version makes me think that you might be using an unreleased Julia version?

1 Like

I assume you are using Julia v1.5.3.

The current minimum version supported by JuMP is 1.6. You are strongly encouraged to use v1.10

1 Like

Thanks all for your help! You’re totally right - I was using Julia v1.5.3. Once I update to the most recent version, these errors go away.

Sorry for the “D’oh!” moment, and I appreciate the help :slight_smile:

1 Like