Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages cannot be precompiled #40

Open
PetrKryslUCSD opened this issue Aug 16, 2021 · 1 comment
Open

Packages cannot be precompiled #40

PetrKryslUCSD opened this issue Aug 16, 2021 · 1 comment

Comments

@PetrKryslUCSD
Copy link

With 1.6.2, Win 10: MKL_jll, CUDAdrv, FFTW, HDF5, RecursiveArrayTools, CUDAnative, MAT, CuArrays, GeneralizedGenerated, Zygote, Flux, DiffEq..., ModelingToolkit, ImageFiltering, KernelDensity, StatsPlots, ... do not precompile. And that is after I removed RCall, PyCall, PyPlot manually.

C:\Users\pkonl\Documents>cd StatsWithJuliaBook-master

C:\Users\pkonl\Documents\StatsWithJuliaBook-master>..\..\AppData\Local\Programs\Julia-1.6.2\bin\julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.2 (2021-07-14)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> include("init.jl")
  Activating environment at `C:\Users\pkonl\Documents\StatsWithJuliaBook-master\Project.toml`

(StatsWithJuliaBook-master) pkg> precompile
Precompiling project...
  ✗ MKL_jll
  ✗ CUDAdrv
  ✗ RecursiveArrayTools
  ✗ HDF5
  ✗ GeneralizedGenerated
  ✗ Zygote
  ✗ FFTW
  ✗ DiffEqBase
  ✗ MAT
  ✗ CUDAnative
  ✗ FFTViews
  ✗ KernelDensity
  ✗ MLDatasets
  ✗ Sundials
  ✗ BoundaryValueDiffEq
  ✗ DiffEqNoiseProcess
  ✗ DiffEqJump
  ✗ OrdinaryDiffEq
  ✗ ImageFiltering
  ✗ CuArrays
  ✗ StatsPlots
  ✗ ModelingToolkit
  ✗ DiffEqFinancial
  ✗ StochasticDiffEq
  ✗ DelayDiffEq
  ✗ DiffEqCallbacks
  ✗ ImageQualityIndexes
  ✗ Flux
  ✗ ParameterizedFunctions
  ✗ MultiScaleArrays
  ✗ Images
  ✗ DiffEqPhysics
  ✗ SteadyStateDiffEq
  ✗ DifferentialEquations
  0 dependencies successfully precompiled in 117 seconds (229 already precompiled)

ERROR: The following 6 direct dependencies failed to precompile:

Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]

Failed to precompile Images [916415d5-f1e6-5110-898d-aaa5f9f070e0] to C:\Users\pkonl\.julia\compiled\v1.6\Images\jl_3ED9.tmp.
ERROR: LoadError: FFTW is not properly installed. Please run Pkg.build("FFTW") and restart Julia.
Stacktrace:
 [1] error(::String, ::String)
   @ Base .\error.jl:42
 [2] top-level scope
   @ C:\Users\pkonl\.julia\packages\FFTW\kcXL6\src\FFTW.jl:22
 [3] include
   @ .\Base.jl:386 [inlined]
 [4] 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:1235
 [5] top-level scope
   @ none:1
 [6] eval
   @ .\boot.jl:360 [inlined]
 [7] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
 [8] top-level scope
   @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\FFTW\kcXL6\src\FFTW.jl:1
ERROR: LoadError: Failed to precompile FFTW [7a1cc6ca-52ef-59f5-83cd-3a7055c09341] to C:\Users\pkonl\.julia\compiled\v1.6\FFTW\jl_5C94.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\ImageFiltering\eH8Od\src\ImageFiltering.jl:1
ERROR: LoadError: Failed to precompile ImageFiltering [6a3955dd-da59-5b1f-98d4-e7296123deb5] to C:\Users\pkonl\.julia\compiled\v1.6\ImageFiltering\jl_58CB.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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::Nothing)
    @ Base .\loading.jl:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\Images\7IWP4\src\Images.jl:3

DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]

Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to C:\Users\pkonl\.julia\compiled\v1.6\DifferentialEquations\jl_7A9D.tmp.
ERROR: LoadError: LoadError: LoadError: UndefVarError: f not defined
Stacktrace:
  [1] macro expansion
    @ C:\Users\pkonl\.julia\packages\MacroTools\X77lQ\src\utils.jl:44 [inlined]
  [2] macro expansion
    @ C:\Users\pkonl\.julia\packages\MacroTools\X77lQ\src\match\macro.jl:18 [inlined]
  [3] shortdef1(ex::Expr)
    @ MacroTools C:\Users\pkonl\.julia\packages\MacroTools\X77lQ\src\utils.jl:240
  [4] prewalk
    @ C:\Users\pkonl\.julia\packages\MacroTools\X77lQ\src\utils.jl:126 [inlined]
  [5] shortdef
    @ C:\Users\pkonl\.julia\packages\MacroTools\X77lQ\src\utils.jl:251 [inlined]
  [6] macro expansion
    @ C:\Users\pkonl\.julia\packages\MacroTools\X77lQ\src\match\macro.jl:72 [inlined]
  [7] gradm(ex::Expr, mut::Bool) (repeats 2 times)
    @ ZygoteRules C:\Users\pkonl\.julia\packages\ZygoteRules\6nssF\src\adjoint.jl:24
  [8] var"@adjoint"(__source__::LineNumberNode, __module__::Module, ex::Any)
    @ ZygoteRules C:\Users\pkonl\.julia\packages\ZygoteRules\6nssF\src\adjoint.jl:63
  [9] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
 [10] include(x::String)
    @ RecursiveArrayTools C:\Users\pkonl\.julia\packages\RecursiveArrayTools\GrX6g\src\RecursiveArrayTools.jl:3
 [11] top-level scope
    @ C:\Users\pkonl\.julia\packages\RecursiveArrayTools\GrX6g\src\RecursiveArrayTools.jl:15
 [12] include
    @ .\Base.jl:386 [inlined]
 [13] 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:1235
 [14] top-level scope
    @ none:1
 [15] eval
    @ .\boot.jl:360 [inlined]
 [16] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [17] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\RecursiveArrayTools\GrX6g\src\zygote.jl:1
in expression starting at C:\Users\pkonl\.julia\packages\RecursiveArrayTools\GrX6g\src\zygote.jl:1
in expression starting at C:\Users\pkonl\.julia\packages\RecursiveArrayTools\GrX6g\src\RecursiveArrayTools.jl:3
ERROR: LoadError: Failed to precompile RecursiveArrayTools [731186ca-8d62-57ce-b412-fbd966d074cd] to C:\Users\pkonl\.julia\compiled\v1.6\RecursiveArrayTools\jl_800A.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\DiffEqBase\LGnTa\src\DiffEqBase.jl:1
ERROR: LoadError: Failed to precompile DiffEqBase [2b5f629d-d688-5b77-993f-72d75c75574e] to C:\Users\pkonl\.julia\compiled\v1.6\DiffEqBase\jl_7D5A.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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::Nothing)
    @ Base .\loading.jl:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\DifferentialEquations\ddyFO\src\DifferentialEquations.jl:1


StatsPlots [f3b207a7-027a-5e70-b257-86293d7955fd]

Failed to precompile StatsPlots [f3b207a7-027a-5e70-b257-86293d7955fd] to C:\Users\pkonl\.julia\compiled\v1.6\StatsPlots\jl_98CB.tmp.
ERROR: LoadError: FFTW is not properly installed. Please run Pkg.build("FFTW") and restart Julia.
Stacktrace:
 [1] error(::String, ::String)
   @ Base .\error.jl:42
 [2] top-level scope
   @ C:\Users\pkonl\.julia\packages\FFTW\kcXL6\src\FFTW.jl:22
 [3] include
   @ .\Base.jl:386 [inlined]
 [4] 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:1235
 [5] top-level scope
   @ none:1
 [6] eval
   @ .\boot.jl:360 [inlined]
 [7] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
 [8] top-level scope
   @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\FFTW\kcXL6\src\FFTW.jl:1
ERROR: LoadError: Failed to precompile FFTW [7a1cc6ca-52ef-59f5-83cd-3a7055c09341] to C:\Users\pkonl\.julia\compiled\v1.6\FFTW\jl_DD04.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\KernelDensity\FYY3d\src\KernelDensity.jl:1
ERROR: LoadError: Failed to precompile KernelDensity [5ab0869b-81aa-558d-bb23-cbf5423bbe9b] to C:\Users\pkonl\.julia\compiled\v1.6\KernelDensity\jl_C853.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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::Nothing)
    @ Base .\loading.jl:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\StatsPlots\sVXzR\src\StatsPlots.jl:1


Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]

Failed to precompile Flux [587475ba-b771-5e3f-ad9e-33799f191a9c] to C:\Users\pkonl\.julia\compiled\v1.6\Flux\jl_1C0C.tmp.
ERROR: LoadError: LoadError: LoadError: UndefVarError: __source__ not defined
Stacktrace:
  [1] var"@nograd"(__source__::LineNumberNode, __module__::Module, ex::Any)
    @ Zygote C:\Users\pkonl\.julia\packages\Zygote\z3bQd\src\lib\grad.jl:7
  [2] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [3] include(x::String)
    @ Zygote C:\Users\pkonl\.julia\packages\Zygote\z3bQd\src\Zygote.jl:1
  [4] top-level scope
    @ C:\Users\pkonl\.julia\packages\Zygote\z3bQd\src\Zygote.jl:26
  [5] include
    @ .\Base.jl:386 [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::String)
    @ Base .\loading.jl:1235
  [7] top-level scope
    @ none:1
  [8] eval
    @ .\boot.jl:360 [inlined]
  [9] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [10] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\Zygote\z3bQd\src\lib\lib.jl:30
in expression starting at C:\Users\pkonl\.julia\packages\Zygote\z3bQd\src\lib\lib.jl:30
in expression starting at C:\Users\pkonl\.julia\packages\Zygote\z3bQd\src\Zygote.jl:1
ERROR: LoadError: Failed to precompile Zygote [e88e6eb3-aa80-5325-afca-941959d7151f] to C:\Users\pkonl\.julia\compiled\v1.6\Zygote\jl_1EEF.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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::Nothing)
    @ Base .\loading.jl:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\Flux\Fj3bt\src\Flux.jl:1


KernelDensity [5ab0869b-81aa-558d-bb23-cbf5423bbe9b]

Failed to precompile KernelDensity [5ab0869b-81aa-558d-bb23-cbf5423bbe9b] to C:\Users\pkonl\.julia\compiled\v1.6\KernelDensity\jl_11FE.tmp.
ERROR: LoadError: FFTW is not properly installed. Please run Pkg.build("FFTW") and restart Julia.
Stacktrace:
 [1] error(::String, ::String)
   @ Base .\error.jl:42
 [2] top-level scope
   @ C:\Users\pkonl\.julia\packages\FFTW\kcXL6\src\FFTW.jl:22
 [3] include
   @ .\Base.jl:386 [inlined]
 [4] 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:1235
 [5] top-level scope
   @ none:1
 [6] eval
   @ .\boot.jl:360 [inlined]
 [7] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
 [8] top-level scope
   @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\FFTW\kcXL6\src\FFTW.jl:1
ERROR: LoadError: Failed to precompile FFTW [7a1cc6ca-52ef-59f5-83cd-3a7055c09341] to C:\Users\pkonl\.julia\compiled\v1.6\FFTW\jl_2B57.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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::Nothing)
    @ Base .\loading.jl:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\KernelDensity\FYY3d\src\KernelDensity.jl:1


MLDatasets [eb30cadb-4394-5ae3-aed4-317e484a6458]

Failed to precompile MLDatasets [eb30cadb-4394-5ae3-aed4-317e484a6458] to C:\Users\pkonl\.julia\compiled\v1.6\MLDatasets\jl_28C3.tmp.
ERROR: LoadError: HDF5 is not properly installed. Please run Pkg.build("HDF5") and restart Julia.
Stacktrace:
 [1] error(::String, ::String)
   @ Base .\error.jl:42
 [2] top-level scope
   @ C:\Users\pkonl\.julia\packages\HDF5\pAi1D\src\HDF5.jl:31
 [3] include
   @ .\Base.jl:386 [inlined]
 [4] 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:1235
 [5] top-level scope
   @ none:1
 [6] eval
   @ .\boot.jl:360 [inlined]
 [7] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
 [8] top-level scope
   @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\HDF5\pAi1D\src\HDF5.jl:1
ERROR: LoadError: Failed to precompile HDF5 [f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f] to C:\Users\pkonl\.julia\compiled\v1.6\HDF5\jl_3F3D.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [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:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\MAT\2LFMT\src\MAT.jl:25
ERROR: LoadError: LoadError: Failed to precompile MAT [23992714-dd62-5051-b70f-ba57cb901cac] to C:\Users\pkonl\.julia\compiled\v1.6\MAT\jl_3BD2.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [8] include(x::String)
    @ MLDatasets C:\Users\pkonl\.julia\packages\MLDatasets\aov6i\src\MLDatasets.jl:1
  [9] top-level scope
    @ C:\Users\pkonl\.julia\packages\MLDatasets\aov6i\src\MLDatasets.jl:35
 [10] include
    @ .\Base.jl:386 [inlined]
 [11] 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:1235
 [12] top-level scope
    @ none:1
 [13] eval
    @ .\boot.jl:360 [inlined]
 [14] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [15] top-level scope
    @ none:1
in expression starting at C:\Users\pkonl\.julia\packages\MLDatasets\aov6i\src\SVHN2\SVHN2.jl:3
in expression starting at C:\Users\pkonl\.julia\packages\MLDatasets\aov6i\src\MLDatasets.jl:1


(StatsWithJuliaBook-master) pkg>
@PetrKryslUCSD
Copy link
Author

Starting with a fresh env, FFTW can be installed w/o problem (Julia 1.6.2, Win 10).
With the book env I get the above errors.

@PetrKryslUCSD PetrKryslUCSD changed the title Packages prevent use of book code Packages cannot be precompiled Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant