Installation of ForneyLab

I was using ForneyLab with Atom 1.6 on my M1 Macbook Air. All was well, except for the standard development errors. At some point, using ForneyLab generated an error on Jupyterlab, and eventually in Atom. I removed and reinstalled Atom. Then I installed the following packages: Plots, GraphViz, and ForneyLab. Here is the status report:

  [c52e3926] Atom v0.12.36
  [9fc3f58a] ForneyLab v0.11.4
  [f526b714] GraphViz v0.2.0
  [e5e0dc1b] Juno v0.8.4
  [91a5bcdd] Plots v1.27.6

and the result when executing using ForneyLab:

julia> using ForneyLab
[ Info: Precompiling ForneyLab [9fc3f58a-c2cc-5bff-9419-6a294fefdca9]
ERROR: LoadError: UndefVarError: dist not defined
Stacktrace:
  [1] top-level scope
    @ ~/.julia/packages/ForneyLab/y2b8v/src/probability_distribution.jl:122
  [2] include(mod::Module, _path::String)
    @ Base ./Base.jl:418
  [3] include(x::String)
    @ ForneyLab ~/.julia/packages/ForneyLab/y2b8v/src/ForneyLab.jl:1
  [4] top-level scope
    @ ~/.julia/packages/ForneyLab/y2b8v/src/ForneyLab.jl:35
  [5] include
    @ ./Base.jl:418 [inlined]
  [6] 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::Nothing)
    @ Base ./loading.jl:1318
  [7] top-level scope
    @ none:1
  [8] eval
    @ ./boot.jl:373 [inlined]
  [9] eval(x::Expr)
    @ Base.MainInclude ./client.jl:453
 [10] top-level scope
    @ none:1
in expression starting at /Users/erlebach/.julia/packages/ForneyLab/y2b8v/src/probability_distribution.jl:122
in expression starting at /Users/erlebach/.julia/packages/ForneyLab/y2b8v/src/ForneyLab.jl:1
ERROR: Failed to precompile ForneyLab [9fc3f58a-c2cc-5bff-9419-6a294fefdca9] to /Users/erlebach/.julia/compiled/v1.7/ForneyLab/jl_YUilav.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
   @ Base ./loading.jl:1466
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base ./loading.jl:1410
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1120
 [5] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1013
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:997

I have absolutely no idea where to start having tried all my usual approaches. I am getting “UndefVarError: dist not defined”. What is dist? I have found no actionable reference to this particular error. A search on Google for the terms: "“dist not defined” “julia” produced only three results!

One additional note: I can load Forneylab when invoking Julia from the commandline.

Any help and suggestions of what to try would be appreciated.

Gordon