-
-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Not sure why this annoying warning pops up only with Flux and not other required packages like Stheno or PolyChaos.
┌ Warning: Error requiring `Flux` from `Surrogates`
--
| │ exception =
| │ LoadError: ArgumentError: Package Surrogates does not have Flux in its dependencies:
| │ - If you have Surrogates checked out for development and have
| │ added Flux as a dependency but haven't updated your primary
| │ environment's manifest file, try `Pkg.resolve()`.
| │ - Otherwise you may need to report an issue with Surrogates
| │ Stacktrace:
| │ [1] require(into::Module, mod::Symbol)
| │ @ Base ./loading.jl:906
| │ [2] include(mod::Module, _path::String)
| │ @ Base ./Base.jl:384
| │ [3] include(x::String)
| │ @ Surrogates /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Surrogates/lWGHe/src/Surrogates.jl:1
| │ [4] macro expansion
| │ @ /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/Requires.jl:40 [inlined]
| │ [5] top-level scope
| │ @ /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Surrogates/lWGHe/src/Surrogates.jl:23
| │ [6] eval
| │ @ ./boot.jl:360 [inlined]
| │ [7] eval
| │ @ /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Surrogates/lWGHe/src/Surrogates.jl:1 [inlined]
| │ [8] (::Surrogates.var"#123#132")()
| │ @ Surrogates /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/require.jl:99
| │ [9] err(f::Any, listener::Module, modname::String)
| │ @ Requires /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/require.jl:47
| │ [10] (::Surrogates.var"#122#131")()
| │ @ Surrogates /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/require.jl:98
| │ [11] withpath(f::Any, path::String)
| │ @ Requires /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/require.jl:37
| │ [12] (::Surrogates.var"#121#130")()
| │ @ Surrogates /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/require.jl:97
| │ [13] #invokelatest#2
| │ @ ./essentials.jl:708 [inlined]
| │ [14] invokelatest
| │ @ ./essentials.jl:706 [inlined]
| │ [15] foreach(f::typeof(Base.invokelatest), itr::Vector{Function})
| │ @ Base ./abstractarray.jl:2141
| │ [16] loadpkg(pkg::Base.PkgId)
| │ @ Requires /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/require.jl:27
| │ [17] #invokelatest#2
| │ @ ./essentials.jl:708 [inlined]
| │ [18] invokelatest
| │ @ ./essentials.jl:706 [inlined]
| │ [19] _tryrequire_from_serialized(modkey::Base.PkgId, build_id::UInt64, modpath::String)
| │ @ Base ./loading.jl:715
| │ [20] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
| │ @ Base ./loading.jl:771
| │ [21] _require(pkg::Base.PkgId)
| │ @ Base ./loading.jl:1020
| │ [22] require(uuidkey::Base.PkgId)
| │ @ Base ./loading.jl:936
| │ [23] require(into::Module, mod::Symbol)
| │ @ Base ./loading.jl:923
| │ [24] include(fname::String)
| │ @ Base.MainInclude ./client.jl:444
| │ [25] top-level scope
| │ @ none:6
| │ [26] eval
| │ @ ./boot.jl:360 [inlined]
| │ [27] exec_options(opts::Base.JLOptions)
| │ @ Base ./client.jl:261
| │ [28] _start()
| │ @ Base ./client.jl:485
| │ in expression starting at /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Surrogates/lWGHe/src/NeuralSurrogate.jl:1
| └ @ Requires /cache/julia-buildkite-plugin/depots/b9f92e52-0cd2-4c5a-a837-2be6da98b402/packages/Requires/7Ncym/src/require.jl:49
Metadata
Metadata
Assignees
Labels
No labels