JuliaIO / JLD.jl

Saving and loading julia variables while preserving native types
MIT License
277 stars 55 forks source link

Cannot install JLD #274

Closed benkj closed 3 years ago

benkj commented 4 years ago

I get the following error when I try to Pkg.add JLD


 Resolving package versions...

Unsatisfiable requirements detected for package LegacyStrings [1b4a561d]:
 LegacyStrings [1b4a561d] log:
 ├─possible versions are: 0.4.0-0.4.1 or uninstalled
 ├─restricted by compatibility requirements with JLD [4138dd39] to versions: 0.4.0-0.4.1
 │ └─JLD [4138dd39] log:
 │   ├─possible versions are: 0.9.0-0.9.2 or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions 0.9.0-0.9.2
 └─restricted by compatibility requirements with Compat [34da2185] to versions: uninstalled — no versions left
   └─Compat [34da2185] log:
     ├─possible versions are: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0] or uninstalled
     ├─restricted by compatibility requirements with JLD [4138dd39] to versions: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0]
     │ └─JLD [4138dd39] log: see above
     ├─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: [2.0.0, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0]
     │ └─DataFrames [a93c6f00] log:
     │   ├─possible versions are: [0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.4, 0.19.0-0.19.4, 0.20.0-0.20.2] or uninstalled
     │   └─restricted to versions 0.20.2 by an explicit requirement, leaving only versions 0.20.2
     └─restricted by compatibility requirements with Optim [429524aa] to versions: [3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0]
       └─Optim [429524aa] log:
         ├─possible versions are: [0.15.3, 0.16.0, 0.17.0-0.17.2, 0.18.0-0.18.1, 0.19.0-0.19.7, 0.20.0-0.20.4] or uninstalled
         └─restricted to versions 0.20.4 by an explicit requirement, leaving only versions 0.20.4
PallHaraldsson commented 4 years ago

I would try again (with latest JLD.jl, that dropped e.g. LegacyStrings dependency).

These restrictions can be annoying, and then bounds on packages may need to be changed, or you can remove some of those packages, if you're not using them.

Please close this issue, when you confirm it's working.

musm commented 3 years ago

Yeah this should be fixed already