MLMetrics.jl
MLMetrics.jl copied to clipboard
UndefVarError: @_dimcheck not defined
With Julia 1.4 on Ubuntu 20.04 LTS I get the following error when installing MLMetrics like this:
(@v1.4) pkg> add https://github.com/JuliaML/MLMetrics.jl.git
Updating git-repo `https://github.com/JuliaML/MLMetrics.jl.git`
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `~/.julia/environments/v1.4/Project.toml`
[42340ebd] + MLMetrics v0.0.0 #master (https://github.com/JuliaML/MLMetrics.jl.git)
Updating `~/.julia/environments/v1.4/Manifest.toml`
[7f8f8fb0] + LearnBase v0.3.0
[30fc2ffe] + LossFunctions v0.6.0
[66a33bbf] + MLLabelUtils v0.5.2
[42340ebd] + MLMetrics v0.0.0 #master (https://github.com/JuliaML/MLMetrics.jl.git)
[b8865327] + UnicodePlots v1.1.0
julia> using MLMetrics
[ Info: Precompiling MLMetrics [42340ebd-fbc4-4eb3-a4ac-da1d58b4c100]
ERROR: LoadError: UndefVarError: @_dimcheck not defined
Stacktrace:
[1] include(::Module, ::String) at ./Base.jl:377
[2] top-level scope at none:2
[3] eval at ./boot.jl:331 [inlined]
[4] eval(::Expr) at ./client.jl:449
[5] top-level scope at ./none:3
in expression starting at /home/user/.julia/packages/MLMetrics/Skho6/src/MLMetrics.jl:7
ERROR: Failed to precompile MLMetrics [42340ebd-fbc4-4eb3-a4ac-da1d58b4c100] to /home/user/.julia/compiled/v1.4/MLMetrics/frEh1_Q9Yma.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
[3] _require(::Base.PkgId) at ./loading.jl:1029
[4] require(::Base.PkgId) at ./loading.jl:927
[5] require(::Module, ::Symbol) at ./loading.jl:922