Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flux not in dependencies warning #308

Open
sharanry opened this issue Dec 9, 2021 · 0 comments
Open

Flux not in dependencies warning #308

sharanry opened this issue Dec 9, 2021 · 0 comments

Comments

@sharanry
Copy link
Member

sharanry commented Dec 9, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant