# Warnings on importing BifurcationKit with Julia 1.5.3

**URL:** https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755
**Category:** Modelling & Simulations
**Created:** [July 4, 2022, 7:00pm UTC](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755 "2022-07-04T19:00:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![BThomas](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@BThomas](https://discourse.julialang.org/u/BThomas)
#### Post date: [July 4, 2022, 7:00pm UTC](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755/1 "2022-07-04T19:00:35Z")

</div>

I have the following packages installed for Julia 1.5.3 that ships with Debian/stable.

```julia
(@v1.5) pkg> status
Status `~/.julia/environments/v1.5/Project.toml`
  [aae01518] BandedMatrices v0.16.13
  [0f109fa4] BifurcationKit v0.1.6
  [336ed68f] CSV v0.9.9
  [13f3f980] CairoMakie v0.6.4
  [5ae59095] Colors v0.12.8
  [a93c6f00] DataFrames v1.2.2
  [0c46a032] DifferentialEquations v6.18.0
  [f6369f11] ForwardDiff v0.10.21
  [e9467ef8] GLMakie v0.4.5
  [4076af6c] JuMP v0.21.10
  [b964fa9f] LaTeXStrings v1.2.1
  [0e72984e] Local v0.1.0 `~/work/src/julia/pkgs/Local`
  [ae8d54c2] Luxor v2.16.0
  [961ee093] ModelingToolkit v6.4.7
  [4a0b20f9] NeuralDynamics v0.2.0
  [d96e819e] Parameters v0.12.3
  [91a5bcdd] Plots v1.22.7
  [c3e4b0f8] Pluto v0.17.7
  [295af30f] Revise v3.1.20
  [efcf1570] Setfield v0.7.1
  [276daf66] SpecialFunctions v1.8.0
  [0c5d862f] Symbolics v3.2.3
  [37e2e46d] LinearAlgebra

```

Any time I use the BifurcationKit package I see the following warnings. Is there any way to fix this ?

```julia
julia> using BifurcationKit, Plots, Setfield
WARNING: both Plots and RecipesBase export "@layout"; uses of it in module BifurcationKit must be qualified
┌ Warning: Error requiring `Plots` from `BifurcationKit`
│ exception =
│ LoadError: LoadError: LoadError: UndefVarError: @layout not defined
│ Stacktrace:
│ [1] top-level scope
│ [2] #macroexpand#36 at ./expr.jl:108 [inlined]
│ [3] macroexpand at ./expr.jl:107 [inlined]
│ [4] docm(::LineNumberNode, ::Module, ::Any, ::Any, ::Bool) at ./docs/Docs.jl:521 (repeats 2 times)
│ [5] (::DocStringExtensions.var"#32#33"{typeof(DocStringExtensions.template_hook)})(::LineNumberNode, ::Vararg{Any,N} where N) at /home/bt/.julia/packages/DocStringExtensions/iscC8/src/templates.jl:11
│ [6] @doc(::LineNumberNode, ::Module, ::String, ::Vararg{Any,N} where N) at ./boot.jl:464
│ [7] include(::Function, ::Module, ::String) at ./Base.jl:380
│ [8] include at ./Base.jl:368 [inlined]
│ [9] include(::String) at /home/bt/.julia/packages/BifurcationKit/xk596/src/BifurcationKit.jl:1
│ [10] top-level scope at /home/bt/.julia/packages/Requires/Z8rfN/src/Requires.jl:40
│ [11] top-level scope at /home/bt/.julia/packages/BifurcationKit/xk596/src/BifurcationKit.jl:69
│ [12] eval at ./boot.jl:331 [inlined]
│ [13] eval at /home/bt/.julia/packages/BifurcationKit/xk596/src/BifurcationKit.jl:1 [inlined]
│ [14] (::BifurcationKit.var"#899#911")() at /home/bt/.julia/packages/Requires/Z8rfN/src/require.jl:101
│ [15] macro expansion at ./timing.jl:233 [inlined]
│ [16] err(::Any, ::Module, ::String, ::String, ::Int64) at /home/bt/.julia/packages/Requires/Z8rfN/src/require.jl:47
│ [17] (::BifurcationKit.var"#898#910")() at /home/bt/.julia/packages/Requires/Z8rfN/src/require.jl:100
│ [18] withpath(::Any, ::String) at /home/bt/.julia/packages/Requires/Z8rfN/src/require.jl:37
│ [19] (::BifurcationKit.var"#897#909")() at /home/bt/.julia/packages/Requires/Z8rfN/src/require.jl:99
│ [20] #invokelatest#1 at ./essentials.jl:710 [inlined]
│ [21] invokelatest at ./essentials.jl:709 [inlined]
│ [22] foreach at ./abstractarray.jl:2009 [inlined]
│ [23] loadpkg(::Base.PkgId) at /home/bt/.julia/packages/Requires/Z8rfN/src/require.jl:27
│ [24] #invokelatest#1 at ./essentials.jl:710 [inlined]
│ [25] invokelatest at ./essentials.jl:709 [inlined]
│ [26] require(::Base.PkgId) at ./loading.jl:931
│ [27] require(::Module, ::Symbol) at ./loading.jl:923
│ [28] eval(::Module, ::Any) at ./boot.jl:331
│ [29] eval_user_input(::Any, ::REPL.REPLBackend) at /build/julia-CrxBG0/julia-1.5.3+dfsg/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:134
│ [30] repl_backend_loop(::REPL.REPLBackend) at /build/julia-CrxBG0/julia-1.5.3+dfsg/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:195
│ [31] start_repl_backend(::REPL.REPLBackend, ::Any) at /build/julia-CrxBG0/julia-1.5.3+dfsg/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:180
│ [32] run_repl(::REPL.AbstractREPL, ::Any; backend_on_current_task::Bool) at /build/julia-CrxBG0/julia-1.5.3+dfsg/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:292
│ [33] run_repl(::REPL.AbstractREPL, ::Any) at /build/julia-CrxBG0/julia-1.5.3+dfsg/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288
│ [34] (::Base.var"#807#809"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:399
│ [35] #invokelatest#1 at ./essentials.jl:710 [inlined]
│ [36] invokelatest at ./essentials.jl:709 [inlined]
│ [37] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:383
│ [38] exec_options(::Base.JLOptions) at ./client.jl:313
│ [39] _start() at ./client.jl:506
│ in expression starting at /home/bt/.julia/packages/BifurcationKit/xk596/src/plotting/PlotCont.jl:5
│ in expression starting at /home/bt/.julia/packages/BifurcationKit/xk596/src/plotting/PlotCont.jl:1
│ in expression starting at /home/bt/.julia/packages/BifurcationKit/xk596/src/plotting/PlotCont.jl:1
└ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:51

```

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [July 4, 2022, 7:04pm UTC](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755/2 "2022-07-04T19:04:41Z")

</div>

Don’t use Julia 1.5.3, and don’t use the versions shipped with Linux distributions. Follow the [installation instructions](https://julialang.org/downloads/platform/#linux_and_freebsd) on the Julia website and install the current stable version (1.7.3) instead.

---

<div class="post-metadata">

### Author: ![rveltz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rveltz/32/2707_2.png) [@rveltz](https://discourse.julialang.org/u/rveltz)
#### Post date: [July 6, 2022, 10:32am UTC](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755/3 "2022-07-06T10:32:13Z")

</div>

is it solved?

---

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [July 6, 2022, 11:44am UTC](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755/4 "2022-07-06T11:44:19Z")

</div>

It’s a sort of common mistake, could we just convince the get the distros to drop Julia, BUT while juliaup is still “considered prerelease” on Linux, at least (eventually) it should be available on all platforms (e.g. Ubuntu and Debian) as its replacement, not just on Windows and already (to get you the right/all version of Julia):

> On Arch Linux, Juliaup is available [in the Arch User Repository (AUR)](https://aur.archlinux.org/packages/juliaup/).

---

<div class="post-metadata">

### Author: ![BThomas](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@BThomas](https://discourse.julialang.org/u/BThomas)
#### Post date: [July 7, 2022, 3:39pm UTC](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755/5 "2022-07-07T15:39:36Z")

</div>

Hi,

Yes thank you. I did solve my problem by downloading the prebuilt Julia 1.7.3 for Linux.

It did take a bit of investigation to find a workaround for [another issue](https://github.com/JuliaGL/GLFW.jl/issues/198) and fix that too . Having Julia packaged as part of Linux distributions like Ubuntu/Debian would avoid such problems.

Now I hope to get onto the more interesting task of learning BifurcationKit. Thank you for this excellent package.
