JuliaIO / JLD2.jl

HDF5-compatible file format in pure Julia
Other
549 stars 85 forks source link

LoadError: MethodError: no method matching names(::Base.Broadcast.BroadcastFunction{typeof(FileIO.save)}) #417

Closed nxiang3 closed 1 year ago

nxiang3 commented 1 year ago

This is my first time using JLD2. I am using Julia 1.7. JLD2 is the up-to-date release 0.4.23. I am running in a separate environment installed with the following packages: LinearAlgebra, Plots, StatFiles, DataFrames, DataFramesMeta, JLD2, DelimitedFiles, StatsBase, CSV, Statistics, PyPlot, ColorSchemes.

When I run "using JLD2", I get the following error message:

ERROR: LoadError: MethodError: no method matching names(::Base.Broadcast.BroadcastFunction{typeof(FileIO.save)}) Closest candidates are: names(::Module; all, imported) at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/base/reflection.jl:102 Stacktrace: [1] top-level scope @ ~/.julia/packages/JLD2/AilrO/src/JLD2.jl:8 [2] include @ ./Base.jl:418 [inlined] [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String) @ Base ./loading.jl:1318 [4] top-level scope @ none:1 [5] eval @ ./boot.jl:373 [inlined] [6] eval(x::Expr) @ Base.MainInclude ./client.jl:453 [7] top-level scope @ none:1

I have tried with other version like 0.4.22-0.4.15. Using FileIO.jl does not help with the issue. Any suggestions would be greatly appreciated! Thanks!

JonasIsensee commented 1 year ago

Hi @nxiang3, I can't reproduce your problem. Does this happen, in a fresh julia session?

nxiang3 commented 1 year ago

Hi @nxiang3, I can't reproduce your problem. Does this happen, in a fresh julia session?

Hi,

Yes, in a fresh Julia session, separate environment. If I use my original environment, it only allows me to install v0.4.3. Installing v0.4.23 gets me the following error message:

ERROR: Unsatisfiable requirements detected for package FillArrays [1a297f60]: FillArrays [1a297f60] log: ├─possible versions are: 0.2.0-0.13.4 or uninstalled ├─restricted by compatibility requirements with BandedMatrices [aae01518] to versions: [0.8.0-0.8.14, 0.9.1-0.13.4] │ └─BandedMatrices [aae01518] log: │ ├─possible versions are: 0.5.1-0.17.6 or uninstalled │ ├─restricted by compatibility requirements with BSplineKit [093aae92] to versions: 0.15.0-0.17.6 │ │ └─BSplineKit [093aae92] log: │ │ ├─possible versions are: 0.1.0-0.11.3 or uninstalled │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.1.0-0.11.3 │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 0.2.1-0.11.3 or uninstalled, leaving only versions: 0.2.1-0.11.3 │ │ │ └─Reexport [189a3867] log: │ │ │ ├─possible versions are: 0.2.0-1.2.2 or uninstalled │ │ │ ├─restricted by compatibility requirements with ODEInterfaceDiffEq [09606e27] to versions: 0.2.0-1.2.2 │ │ │ │ └─ODEInterfaceDiffEq [09606e27] log: │ │ │ │ ├─possible versions are: 2.0.0-3.11.0 or uninstalled │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 2.0.0-3.11.0 │ │ │ │ └─restricted by compatibility requirements with Reexport [189a3867] to versions: 3.10.0-3.11.0 or uninstalled, leaving only versions: 3.10.0-3.11.0 │ │ │ │ └─Reexport [189a3867] log: see above │ │ │ └─restricted by compatibility requirements with JLD2 [033835bb] to versions: 1.0.0-1.2.2 │ │ │ └─JLD2 [033835bb] log: │ │ │ ├─possible versions are: 0.1.0-0.4.23 or uninstalled │ │ │ └─restricted to versions 0.4.23 by an explicit requirement, leaving only versions 0.4.23 │ │ └─restricted by compatibility requirements with ArrayLayouts [4c555306] to versions: 0.1.0-0.10.0 or uninstalled, leaving only versions: 0.2.1-0.10.0 │ │ └─ArrayLayouts [4c555306] log: │ │ ├─possible versions are: 0.1.0-0.8.11 or uninstalled │ │ ├─restricted by compatibility requirements with BandedMatrices [aae01518] to versions: 0.2.0-0.8.11 │ │ │ └─BandedMatrices [aae01518] log: see above │ │ ├─restricted by compatibility requirements with FillArrays [1a297f60] to versions: 0.1.0-0.7.10 or uninstalled, leaving only versions: 0.2.0-0.7.10 │ │ │ └─FillArrays [1a297f60] log: see above │ │ └─restricted by compatibility requirements with FastTransforms [057dd010] to versions: 0.4.0-0.7.10 │ │ └─FastTransforms [057dd010] log: │ │ ├─possible versions are: 0.5.0-0.14.5 or uninstalled │ │ ├─restricted by compatibility requirements with ApproxFun [28f2ccd6] to versions: 0.5.0-0.12.6 │ │ │ └─ApproxFun [28f2ccd6] log: │ │ │ ├─possible versions are: 0.9.0-0.13.9 or uninstalled │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.9.0-0.13.9 │ │ │ ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [0.9.0-0.11.3, 0.11.5-0.13.9] or uninstalled, leaving only versions: [0.9.0-0.11.3, 0.11.5-0.13.9] │ │ │ │ └─StaticArrays [90137ffa] log: │ │ │ │ ├─possible versions are: 0.8.0-1.5.7 or uninstalled │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.8.0-1.5.7 │ │ │ │ ├─restricted by compatibility requirements with ForwardDiff [f6369f11] to versions: 0.8.3-1.5.7 │ │ │ │ │ └─ForwardDiff [f6369f11] log: │ │ │ │ │ ├─possible versions are: 0.9.0-0.10.32 or uninstalled │ │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.9.0-0.10.32 │ │ │ │ │ ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: 0.10.5-0.10.32 or uninstalled, leaving only versions: 0.10.5-0.10.32 │ │ │ │ │ │ └─StaticArrays [90137ffa] log: see above │ │ │ │ │ └─restricted by compatibility requirements with DiffResults [163ba53b] to versions: 0.10.8-0.10.32 or uninstalled, leaving only versions: 0.10.8-0.10.32 │ │ │ │ │ └─DiffResults [163ba53b] log: │ │ │ │ │ ├─possible versions are: 0.0.4-1.0.3 or uninstalled │ │ │ │ │ ├─restricted by compatibility requirements with ForwardDiff [f6369f11] to versions: [0.0.4, 1.0.1-1.0.3] │ │ │ │ │ │ └─ForwardDiff [f6369f11] log: see above │ │ │ │ │ └─restricted by compatibility requirements with Compat [34da2185] to versions: 1.0.0-1.0.3 or uninstalled, leaving only versions: 1.0.1-1.0.3 │ │ │ │ │ └─Compat [34da2185] log: │ │ │ │ │ ├─possible versions are: 1.0.0-4.2.0 or uninstalled │ │ │ │ │ ├─restricted by compatibility requirements with ODEInterfaceDiffEq [09606e27] to versions: 1.0.0-4.2.0 │ │ │ │ │ │ └─ODEInterfaceDiffEq [09606e27] log: see above │ │ │ │ │ ├─restricted by compatibility requirements with SymEngine [123dc426] to versions: 1.0.0-3.46.0 │ │ │ │ │ │ └─SymEngine [123dc426] log: │ │ │ │ │ │ ├─possible versions are: 0.4.1-0.8.7 or uninstalled │ │ │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.4.1-0.8.7 │ │ │ │ │ │ └─restricted by compatibility requirements with Compat [34da2185] to versions: 0.6.0-0.8.7 or uninstalled, leaving only versions: 0.6.0-0.8.7 │ │ │ │ │ │ └─Compat [34da2185] log: see above │ │ │ │ │ └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 3.17.0-4.2.0, leaving only versions: 3.17.0-3.46.0 │ │ │ │ │ └─DataFrames [a93c6f00] log: │ │ │ │ │ ├─possible versions are: 0.11.7-1.3.6 or uninstalled │ │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.11.7-1.3.6 │ │ │ │ │ ├─restricted by compatibility requirements with DataFramesMeta [1313f7d8] to versions: 0.13.0-1.3.6 │ │ │ │ │ │ └─DataFramesMeta [1313f7d8] log: │ │ │ │ │ │ ├─possible versions are: 0.4.0-0.12.0 or uninstalled │ │ │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.4.0-0.12.0 │ │ │ │ │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: [0.4.0-0.5.1, 0.6.1-0.12.0] or uninstalled, leaving only versions: [0.4.0-0.5.1, 0.6.1-0.12.0] │ │ │ │ │ │ │ └─Reexport [189a3867] log: see above │ │ │ │ │ │ └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 0.6.0-0.12.0 or uninstalled, leaving only versions: 0.6.1-0.12.0 │ │ │ │ │ │ └─DataFrames [a93c6f00] log: see above │ │ │ │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 0.22.3-1.3.6 or uninstalled, leaving only versions: 0.22.3-1.3.6 │ │ │ │ │ │ └─Reexport [189a3867] log: see above │ │ │ │ │ └─restricted by compatibility requirements with PrettyTables [08abe8d2] to versions: [0.11.7-0.21.8, 0.22.4-1.3.6] or uninstalled, leaving only versions: 0.22.4-1.3.6 │ │ │ │ │ └─PrettyTables [08abe8d2] log: │ │ │ │ │ ├─possible versions are: 0.1.0-2.1.0 or uninstalled │ │ │ │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: [0.1.0-0.2.1, 0.11.0-2.1.0] or uninstalled │ │ │ │ │ │ └─Reexport [189a3867] log: see above │ │ │ │ │ └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 0.10.0-1.3.1, leaving only versions: 0.11.0-1.3.1 │ │ │ │ │ └─DataFrames [a93c6f00] log: see above │ │ │ │ └─restricted by compatibility requirements with BSplineKit [093aae92] to versions: 0.12.0-1.5.7 │ │ │ │ └─BSplineKit [093aae92] log: see above │ │ │ ├─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: 0.9.0-0.12.6 or uninstalled, leaving only versions: [0.9.0-0.11.3, 0.11.5-0.12.6] │ │ │ │ └─SpecialFunctions [276daf66] log: │ │ │ │ ├─possible versions are: 0.7.0-2.1.7 or uninstalled │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.7.0-2.1.7 │ │ │ │ ├─restricted by compatibility requirements with KernelEstimator [857edff2] to versions: 0.7.0-0.10.3 │ │ │ │ │ └─KernelEstimator [857edff2] log: │ │ │ │ │ ├─possible versions are: 0.3.3 or uninstalled │ │ │ │ │ └─restricted to versions by an explicit requirement, leaving only versions 0.3.3 │ │ │ │ ├─restricted by compatibility requirements with Expectations [2fe49d83] to versions: [0.7.0-0.8.0, 0.10.0-0.10.3, 1.1.0-2.1.7], leaving only versions: [0.7.0-0.8.0, 0.10.0-0.10.3] │ │ │ │ │ └─Expectations [2fe49d83] log: │ │ │ │ │ ├─possible versions are: 0.1.0-1.8.1 or uninstalled │ │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.1.0-1.8.1 │ │ │ │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: [0.1.0, 1.0.1-1.8.1] or uninstalled, leaving only versions: [0.1.0, 1.0.1-1.8.1] │ │ │ │ │ │ └─Reexport [189a3867] log: see above │ │ │ │ │ └─restricted by compatibility requirements with Compat [34da2185] to versions: 1.1.1-1.8.1 or uninstalled, leaving only versions: 1.1.1-1.8.1 │ │ │ │ │ └─Compat [34da2185] log: see above │ │ │ │ ├─restricted by compatibility requirements with Compat [34da2185] to versions: 0.7.1-2.1.7 or uninstalled, leaving only versions: [0.7.1-0.8.0, 0.10.0-0.10.3] │ │ │ │ │ └─Compat [34da2185] log: see above │ │ │ │ ├─restricted by compatibility requirements with BinDeps [9e28174c] to versions: 0.8.0-2.1.7 or uninstalled, leaving only versions: [0.8.0, 0.10.0-0.10.3] │ │ │ │ │ └─BinDeps [9e28174c] log: │ │ │ │ │ ├─possible versions are: 0.7.0-1.0.2 or uninstalled │ │ │ │ │ └─restricted by compatibility requirements with Compat [34da2185] to versions: 1.0.0-1.0.2 or uninstalled │ │ │ │ │ └─Compat [34da2185] log: see above │ │ │ │ └─restricted by compatibility requirements with ApproxFun [28f2ccd6] to versions: [0.10.0-0.10.3, 1.1.0-1.8.7], leaving only versions: 0.10.0-0.10.3 │ │ │ │ └─ApproxFun [28f2ccd6] log: see above │ │ │ ├─restricted by compatibility requirements with ApproxFunSingularities [f8fcb915] to versions: [0.9.0-0.10.4, 0.11.1-0.13.9] or uninstalled, leaving only versions: [0.9.0-0.10.4, 0.11.1-0.11.3, 0.11.5-0.12.6] │ │ │ │ └─ApproxFunSingularities [f8fcb915] log: │ │ │ │ ├─possible versions are: 0.0.1-0.3.1 or uninstalled │ │ │ │ ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [0.1.1, 0.1.3-0.3.1] or uninstalled │ │ │ │ │ └─StaticArrays [90137ffa] log: see above │ │ │ │ ├─restricted by compatibility requirements with ApproxFunBase [fbd15aa5] to versions: 0.1.5-0.3.1 or uninstalled │ │ │ │ │ └─ApproxFunBase [fbd15aa5] log: │ │ │ │ │ ├─possible versions are: 0.0.1-0.7.8 or uninstalled │ │ │ │ │ ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: 0.2.2-0.7.8 or uninstalled │ │ │ │ │ │ └─StaticArrays [90137ffa] log: see above │ │ │ │ │ ├─restricted by compatibility requirements with BandedMatrices [aae01518] to versions: 0.3.3-0.7.8 or uninstalled │ │ │ │ │ │ └─BandedMatrices [aae01518] log: see above │ │ │ │ │ └─restricted by compatibility requirements with ApproxFun [28f2ccd6] to versions: 0.3.0-0.5.17, leaving only versions: 0.3.3-0.5.17 │ │ │ │ │ └─ApproxFun [28f2ccd6] log: see above │ │ │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 0.2.1-0.3.1 or uninstalled │ │ │ │ │ └─Reexport [189a3867] log: see above │ │ │ │ └─restricted by compatibility requirements with ApproxFun [28f2ccd6] to versions: 0.1.3-0.2.5, leaving only versions: 0.2.1-0.2.5 │ │ │ │ └─ApproxFun [28f2ccd6] log: see above │ │ │ ├─restricted by compatibility requirements with ApproxFunBase [fbd15aa5] to versions: [0.9.0-0.10.4, 0.11.6-0.13.9] or uninstalled, leaving only versions: [0.9.0-0.10.4, 0.11.6-0.12.6] │ │ │ │ └─ApproxFunBase [fbd15aa5] log: see above │ │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: [0.9.0-0.10.4, 0.12.5-0.13.9] or uninstalled, leaving only versions: [0.9.0-0.10.4, 0.12.5-0.12.6] │ │ │ │ └─Reexport [189a3867] log: see above │ │ │ └─restricted by compatibility requirements with BandedMatrices [aae01518] to versions: 0.11.5-0.13.9 or uninstalled, leaving only versions: 0.12.5-0.12.6 │ │ │ └─BandedMatrices [aae01518] log: see above │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: [0.5.0-0.6.1, 0.11.2-0.14.5] or uninstalled, leaving only versions: [0.5.0-0.6.1, 0.11.2-0.12.6] │ │ │ └─Reexport [189a3867] log: see above │ │ ├─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: 0.6.0-0.14.5 or uninstalled, leaving only versions: [0.6.0-0.6.1, 0.11.2-0.12.6] │ │ │ └─SpecialFunctions [276daf66] log: see above │ │ └─restricted by compatibility requirements with ApproxFun [28f2ccd6] to versions: 0.10.0-0.12.6, leaving only versions: 0.11.2-0.12.6 │ │ └─ApproxFun [28f2ccd6] log: see above │ └─restricted by compatibility requirements with FillArrays [1a297f60] to versions: 0.13.1-0.16.13 or uninstalled, leaving only versions: 0.15.0-0.16.13 │ └─FillArrays [1a297f60] log: see above ├─restricted by compatibility requirements with StochasticDiffEq [789caeaf] to versions: 0.6.0-0.12.8, leaving only versions: [0.8.0-0.8.14, 0.9.1-0.12.8] │ └─StochasticDiffEq [789caeaf] log: │ ├─possible versions are: 5.0.0-6.54.0 or uninstalled │ ├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: [5.0.0-6.8.0, 6.13.0-6.54.0] or uninstalled │ │ └─StaticArrays [90137ffa] log: see above │ ├─restricted by compatibility requirements with DifferentialEquations [0c46a032] to versions: 5.0.0-6.54.0, leaving only versions: [5.0.0-6.8.0, 6.13.0-6.54.0] │ │ └─DifferentialEquations [0c46a032] log: │ │ ├─possible versions are: 5.0.0-7.4.0 or uninstalled │ │ ├─restricted to versions by an explicit requirement, leaving only versions 5.0.0-7.4.0 │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 6.16.0-7.4.0 or uninstalled, leaving only versions: 6.16.0-7.4.0 │ │ │ └─Reexport [189a3867] log: see above │ │ └─restricted by compatibility requirements with StochasticDiffEq [789caeaf] to versions: 5.0.0-7.1.0 or uninstalled, leaving only versions: 6.16.0-7.1.0 │ │ └─StochasticDiffEq [789caeaf] log: see above │ ├─restricted by compatibility requirements with LevyArea [2d8b4e74] to versions: 5.0.0-6.44.0 or uninstalled, leaving only versions: [5.0.0-6.8.0, 6.13.0-6.44.0] │ │ └─LevyArea [2d8b4e74] log: │ │ ├─possible versions are: 1.0.0 or uninstalled │ │ └─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: uninstalled │ │ └─SpecialFunctions [276daf66] log: see above │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 6.28.0-6.54.0 or uninstalled, leaving only versions: 6.28.0-6.44.0 │ │ └─Reexport [189a3867] log: see above │ └─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: [5.0.0-6.7.0, 6.32.0-6.54.0] or uninstalled, leaving only versions: 6.32.0-6.44.0 │ └─ArrayInterface [4fba245c] log: │ ├─possible versions are: 0.0.1-6.0.23 or uninstalled │ ├─restricted by compatibility requirements with StochasticDiffEq [789caeaf] to versions: 2.4.0-4.0.4 │ │ └─StochasticDiffEq [789caeaf] log: see above │ ├─restricted by compatibility requirements with LoopVectorization [bdcacae8] to versions: 2.14.0-3.2.2 │ │ └─LoopVectorization [bdcacae8] log: │ │ ├─possible versions are: 0.1.0-0.12.127 or uninstalled │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.1.0-0.12.127 │ │ ├─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: 0.1.0-0.12.99 or uninstalled, leaving only versions: 0.1.0-0.12.99 │ │ │ └─SpecialFunctions [276daf66] log: see above │ │ ├─restricted by julia compatibility requirements to versions: 0.9.0-0.12.127 or uninstalled, leaving only versions: 0.9.0-0.12.99 │ │ └─restricted by compatibility requirements with VectorizationBase [3d5dd08c] to versions: 0.12.19-0.12.127 or uninstalled, leaving only versions: 0.12.19-0.12.99 │ │ └─VectorizationBase [3d5dd08c] log: │ │ ├─possible versions are: 0.1.0-0.21.49 or uninstalled │ │ ├─restricted by compatibility requirements with LoopVectorization [bdcacae8] to versions: [0.1.0-0.5.0, 0.6.1-0.7.1, 0.9.3-0.10.5, 0.11.2-0.11.5, 0.12.1-0.14.12, 0.15.1-0.17.3, 0.18.1-0.18.15, 0.19.8-0.19.39, 0.20.1-0.21.49] │ │ │ └─LoopVectorization [bdcacae8] log: see above │ │ ├─restricted by julia compatibility requirements to versions: 0.20.8-0.21.49 or uninstalled, leaving only versions: 0.20.8-0.21.49 │ │ └─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: [0.1.0-0.12.33, 0.17.0-0.21.33] or uninstalled, leaving only versions: 0.20.8-0.21.33 │ │ └─ArrayInterface [4fba245c] log: see above │ ├─restricted by compatibility requirements with VectorizationBase [3d5dd08c] to versions: [3.1.2-5.0.8, 6.0.1-6.0.23], leaving only versions: 3.1.2-3.2.2 │ │ └─VectorizationBase [3d5dd08c] log: see above │ ├─restricted by compatibility requirements with Static [aedffcd0] to versions: [0.0.1-3.1.1, 3.1.3-3.2.2] or uninstalled, leaving only versions: 3.1.3-3.2.2 │ │ └─Static [aedffcd0] log: │ │ ├─possible versions are: 0.1.0-0.7.7 or uninstalled │ │ ├─restricted by compatibility requirements with VectorizationBase [3d5dd08c] to versions: 0.2.0-0.7.7 │ │ │ └─VectorizationBase [3d5dd08c] log: see above │ │ └─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: 0.1.0-0.4.1, leaving only versions: 0.2.0-0.4.1 │ │ └─ArrayInterface [4fba245c] log: see above │ └─restricted by compatibility requirements with LoopVectorization [bdcacae8] to versions: 3.1.9-3.2.2 │ └─LoopVectorization [bdcacae8] log: see above ├─restricted by compatibility requirements with FastTransforms [057dd010] to versions: 0.9.0-0.12.8, leaving only versions: 0.9.1-0.12.8 │ └─FastTransforms [057dd010] log: see above └─restricted by compatibility requirements with Optim [429524aa] to versions: 0.6.2-0.8.14 — no versions left └─Optim [429524aa] log: ├─possible versions are: 0.15.3-1.7.3 or uninstalled ├─restricted to versions by an explicit requirement, leaving only versions 0.15.3-1.7.3 ├─restricted by compatibility requirements with KernelEstimator [857edff2] to versions: 0.15.3-0.22.0 │ └─KernelEstimator [857edff2] log: see above ├─restricted by compatibility requirements with Compat [34da2185] to versions: 0.17.2-1.7.3 or uninstalled, leaving only versions: 0.17.2-0.22.0 │ └─Compat [34da2185] log: see above ├─restricted by compatibility requirements with FillArrays [1a297f60] to versions: [0.15.3-0.18.1, 0.19.5-1.7.3] or uninstalled, leaving only versions: [0.17.2-0.18.1, 0.19.5-0.22.0] │ └─FillArrays [1a297f60] log: see above └─restricted by compatibility requirements with StatsBase [2913bbd2] to versions: [0.15.3, 0.20.5-1.7.3] or uninstalled, leaving only versions: 0.20.5-0.22.0 └─StatsBase [2913bbd2] log: ├─possible versions are: 0.24.0-0.33.21 or uninstalled ├─restricted to versions by an explicit requirement, leaving only versions 0.24.0-0.33.21 └─restricted by compatibility requirements with DataStructures [864edb3b] to versions: 0.33.1-0.33.21 or uninstalled, leaving only versions: 0.33.1-0.33.21 └─DataStructures [864edb3b] log: ├─possible versions are: 0.9.0-0.18.13 or uninstalled ├─restricted by compatibility requirements with StatsBase [2913bbd2] to versions: 0.9.0-0.18.13 │ └─StatsBase [2913bbd2] log: see above ├─restricted by compatibility requirements with Compose [a81c6b42] to versions: 0.11.0-0.18.13 │ └─Compose [a81c6b42] log: │ ├─possible versions are: 0.6.1-0.9.4 or uninstalled │ ├─restricted by compatibility requirements with Gadfly [c91e804a] to versions: 0.6.1-0.9.4 │ │ └─Gadfly [c91e804a] log: │ │ ├─possible versions are: 0.8.0-1.3.4 or uninstalled │ │ ├─restricted to versions by an explicit requirement, leaving only versions 0.8.0-1.3.4 │ │ ├─restricted by compatibility requirements with JSON [682c06a0] to versions: 1.2.0-1.3.4 or uninstalled, leaving only versions: 1.2.0-1.3.4 │ │ │ └─JSON [682c06a0] log: │ │ │ ├─possible versions are: 0.18.0-0.21.3 or uninstalled │ │ │ ├─restricted by compatibility requirements with Conda [8f4d0f93] to versions: 0.18.0-0.21.3 │ │ │ │ └─Conda [8f4d0f93] log: │ │ │ │ ├─possible versions are: 1.0.0-1.7.0 or uninstalled │ │ │ │ ├─restricted to versions by an explicit requirement, leaving only versions 1.0.0-1.7.0 │ │ │ │ └─restricted by compatibility requirements with Compat [34da2185] to versions: 1.3.0-1.7.0 or uninstalled, leaving only versions: 1.3.0-1.7.0 │ │ │ │ └─Compat [34da2185] log: see above │ │ │ └─restricted by compatibility requirements with UpdateJulia [770da0de] to versions: 0.21.0-0.21.3 │ │ │ └─UpdateJulia [770da0de] log: │ │ │ ├─possible versions are: 0.1.0-0.4.0 or uninstalled │ │ │ └─restricted to versions by an explicit requirement, leaving only versions 0.1.0-0.4.0 │ │ └─restricted by compatibility requirements with DataStructures [864edb3b] to versions: 1.3.1-1.3.4 or uninstalled, leaving only versions: 1.3.1-1.3.4 │ │ └─DataStructures [864edb3b] log: see above │ ├─restricted by compatibility requirements with JSON [682c06a0] to versions: 0.8.0-0.9.4 or uninstalled, leaving only versions: 0.8.0-0.9.4 │ │ └─JSON [682c06a0] log: see above │ └─restricted by compatibility requirements with DataStructures [864edb3b] to versions: 0.9.1-0.9.4 or uninstalled, leaving only versions: 0.9.1-0.9.4 │ └─DataStructures [864edb3b] log: see above └─restricted by compatibility requirements with StochasticDiffEq [789caeaf] to versions: 0.18.0-0.18.13 └─StochasticDiffEq [789caeaf] log: see above

Thanks!

nxiang3 commented 1 year ago

ERROR: LoadError: MethodError: no method matching names(::Base.Broadcast.BroadcastFunction{typeof(FileIO.save)})

This error happens when I start a new environment and only add JLD2 package. Julia version 1.7.3, JLD2 version 0.4.23.

nxiang3 commented 1 year ago

I solve the problem by switching to Julia long-term support release: v1.6.7.