程序运行提示HDF5安装错误


#1
# code

以下是错误提示:
ERROR: LoadError: HDF5 not properly installed. Please run Pkg.build(“HDF5”)
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] top-level scope at C:\Users\Administrator.julia\packages\HDF5\R6yOo\src\HDF5.jl:34
[3] include at .\boot.jl:317 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1044
[5] include(::Module, ::String) at .\sysimg.jl:29
[6] top-level scope at none:2
[7] eval at .\boot.jl:319 [inlined]
[8] eval(::Expr) at .\client.jl:393
[9] top-level scope at .\none:3
in expression starting at C:\Users\Administrator.julia\packages\HDF5\R6yOo\src\HDF5.jl:31
ERROR: LoadError: Failed to precompile HDF5 [f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f] to C:\Users\Administrator.julia\compiled\v1.0\HDF5\L7Dga.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] include at .\boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1044
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] top-level scope at none:2
[10] eval at .\boot.jl:319 [inlined]
[11] eval(::Expr) at .\client.jl:393
[12] top-level scope at .\none:3
in expression starting at C:\Users\Administrator.julia\packages\JLD\1BoSz\src\JLD.jl:4
ERROR: LoadError: Failed to precompile JLD [4138dd39-2aa7-5051-a626-17a0bb65d9c8] to C:\Users\Administrator.julia\compiled\v1.0\JLD\l8ijy.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] include at .\boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1044
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] exec_options(::Base.JLOptions) at .\client.jl:266
[10] _start() at .\client.jl:425
in expression starting at C:\Users\Administrator\PycharmProjects\my_julia\main.jl:10
提示HDF5.jl中错误部分是:
const depsfile=joinpath(dirname(@DIR),“deps”,“deps.jl”)
if isfile(depsfile)
include(depsfile)
else
error(“HDF5 not properly installed.Please run Pkg.build(“HDF5”)”)
end


#2

]build HDF5
试下,看行不


#3

不行,我试过,都提示no change


#4

这个build和add不是一样的吗


#5

add和build不一样


#6

啊,可以了,谢谢你呀