Seems like error has something to do with JuliaDB, OnlineStats, but not sure.
Just execute below code:
using Pkg
Pkg.add(“CSV”)
Pkg.add(“DataFrames”)
Pkg.add(“HTTP”)
Pkg.add(“JSON”)
Pkg.add(“JuliaDB”)
Pkg.add(“MbedTLS”)
using CSV
using JuliaDB
using HTTP
using JSON
using Dates
@info VERSION
@info Pkg.installed()
You should get below exceptions. We are running LTS version 1.0.5 on production, the issue is also coming with latest version 1.4.1
┌ Warning: Use of Poly
from v1.0 forward will require using Polynomials.PolyCompat
│ caller = Polynomials.PolyCompat.Poly(::Array{Double64,1}) at Poly.jl:26
└ @ Polynomials.PolyCompat ~/.julia/packages/Polynomials/ghqdF/src/polynomials/Poly.jl:26
WARNING: could not import LearnBase.fit! into OnlineStats
WARNING: could not import LearnBase.nobs into OnlineStats
WARNING: could not import LearnBase.predict into OnlineStats
WARNING: could not import LearnBase.addgrad! into PenaltyFunctions
WARNING: could not import LearnBase.scaled into PenaltyFunctions
ERROR: LoadError: LoadError: UndefVarError: ScaledDistanceLoss not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at ./Base.jl:26
[2] top-level scope at /home/zettaapps/.julia/packages/OnlineStats/iY7aT/src/stats/statlearn.jl:156
[3] include(::Module, ::String) at ./Base.jl:377
[4] include(::String) at /home/zettaapps/.julia/packages/OnlineStats/iY7aT/src/OnlineStats.jl:1
[5] top-level scope at /home/zettaapps/.julia/packages/OnlineStats/iY7aT/src/OnlineStats.jl:61
[6] include(::Module, ::String) at ./Base.jl:377
[7] top-level scope at none:2
[8] eval at ./boot.jl:331 [inlined]
[9] eval(::Expr) at ./client.jl:449
[10] top-level scope at ./none:3
in expression starting at /home/zettaapps/.julia/packages/OnlineStats/iY7aT/src/stats/statlearn.jl:156
in expression starting at /home/zettaapps/.julia/packages/OnlineStats/iY7aT/src/OnlineStats.jl:61
ERROR: LoadError: Failed to precompile OnlineStats [a15396b6-48d5-5d58-9928-6d29437db91e] to /home/zettaapps/.julia/compiled/v1.4/OnlineStats/G3mU6_FyvLN.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
[6] include(::Module, ::String) at ./Base.jl:377
[7] top-level scope at none:2
[8] eval at ./boot.jl:331 [inlined]
[9] eval(::Expr) at ./client.jl:449
[10] top-level scope at ./none:3
in expression starting at /home/zettaapps/.julia/packages/JuliaDB/7cG1k/src/JuliaDB.jl:21
ERROR: LoadError: Failed to precompile JuliaDB [a93385a2-3734-596a-9a66-3cfbb77141e6] to /home/zettaapps/.julia/compiled/v1.4/JuliaDB/4FA8g_FyvLN.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
[6] include(::Module, ::String) at ./Base.jl:377
[7] exec_options(::Base.JLOptions) at ./client.jl:288
[8] _start() at ./client.jl:484