Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

UndefVarError: @_dimcheck not defined #29

Open
dunefox opened this issue May 30, 2020 · 0 comments
Open

UndefVarError: @_dimcheck not defined #29

dunefox opened this issue May 30, 2020 · 0 comments

Comments

@dunefox
Copy link

dunefox commented May 30, 2020

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

No branches or pull requests

1 participant