Error when loading Decision Tree

I am getting the following error when I am trying to load DecisionTree. Please let me know how to resolve this. Thanks!

julia> clf = (@load AdaBoostStumpClassifier pkg=DecisionTree)()
[ Info: For silent loading, specify `verbosity=0`. 
import MLJDecisionTreeInterface[ Info: Precompiling MLJDecisionTreeInterface [c6f25543-311c-4c74-83dc-3ea6d1015661]
ERROR: LoadError: UndefVarError: AbstractNode not defined
Stacktrace:
  [1] getproperty(x::Module, f::Symbol)
    @ Base ./Base.jl:35
  [2] top-level scope
    @ ~/data/.julia/packages/DecisionTree/4lZKc/src/abstract_trees.jl:18
  [3] include(mod::Module, _path::String)
    @ Base ./Base.jl:418
  [4] include(x::String)
    @ DecisionTree ~/data/.julia/packages/DecisionTree/4lZKc/src/DecisionTree.jl:1
  [5] top-level scope
    @ ~/data/.julia/packages/DecisionTree/4lZKc/src/DecisionTree.jl:84
  [6] include
    @ ./Base.jl:418 [inlined]
  [7] 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
  [8] top-level scope
    @ none:1
  [9] eval
    @ ./boot.jl:373 [inlined]
 [10] eval(x::Expr)
    @ Base.MainInclude ./client.jl:453
 [11] top-level scope
    @ none:1
in expression starting at /home/jrun/data/.julia/packages/DecisionTree/4lZKc/src/abstract_trees.jl:18
in expression starting at /home/jrun/data/.julia/packages/DecisionTree/4lZKc/src/DecisionTree.jl:1
ERROR: LoadError: Failed to precompile DecisionTree [7806a523-6efd-50cb-b5f6-3fa6f1930dbb] to /home/jrun/data/.julia/compiled/v1.7/DecisionTree/jl_5yVr7g.
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
  [7] include
    @ ./Base.jl:418 [inlined]
  [8] 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
  [9] top-level scope
    @ none:1
 [10] eval
    @ ./boot.jl:373 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude ./client.jl:453
 [12] top-level scope
    @ none:1
in expression starting at /home/jrun/data/.julia/packages/MLJDecisionTreeInterface/O4KMv/src/MLJDecisionTreeInterface.jl:1
ERROR: Failed to precompile MLJDecisionTreeInterface [c6f25543-311c-4c74-83dc-3ea6d1015661] to /home/jrun/data/.julia/compiled/v1.7/MLJDecisionTreeInterface/jl_EO9OKZ.
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
  [7] eval
    @ ./boot.jl:373 [inlined]
  [8] eval(x::Expr)
    @ Base.MainInclude ./client.jl:453
  [9] _import(modl::Module, api_pkg::Symbol, pkg::Symbol, doprint::Bool)
    @ MLJModels ~/data/.julia/packages/MLJModels/hAzAn/src/loading.jl:19
 [10] top-level scope
    @ ~/data/.julia/packages/MLJModels/hAzAn/src/loading.jl:197

Hi Rahul

DecisionTree is not shipped with Pumas so I assume that you have installed it. Unfortunately, Julia 1.7 doesn’t correctly resolve package versions when packages are distributed the way that we do with Pumas. This means that you currently end up with incompatible package versions which is the reason for the error.

The resolver limitation is fixed in Julia 1.8 so in the next upgrade of the system, it should be possible to either install DecisionTree and have it work correctly or get an error when you try to install it that it isn’t possible to find compatible versions.

Thanks
Andreas