sisl / ngsim_env

Learning human driver models from NGSIM data with imitation learning.
https://arxiv.org/abs/1803.01044
MIT License
172 stars 80 forks source link

Which version of HDF5 was used? #33

Open tianzongkai opened 2 years ago

tianzongkai commented 2 years ago

I installed HDF5 1.10 but encountered the following error when "using AutoEnvs":

julia> using AutoEnvs [ Info: Precompiling AutoEnvs [b0c92c82-45e2-5f35-82fd-3b99a2ee9dd8] ERROR: LoadError: LoadError: UndefVarError: HDF5File not defined Stacktrace: [1] top-level scope at /home/zongkai/.julia/packages/AutoRisk/g60Ag/src/collection/dataset.jl:8 [2] include at ./boot.jl:328 [inlined] [3] include_relative(::Module, ::String) at ./loading.jl:1105 [4] include at ./Base.jl:31 [inlined] [5] include(::String) at /home/zongkai/.julia/packages/AutoRisk/g60Ag/src/AutoRisk.jl:2 [6] top-level scope at /home/zongkai/.julia/packages/AutoRisk/g60Ag/src/AutoRisk.jl:76 [7] include at ./boot.jl:328 [inlined] [8] include_relative(::Module, ::String) at ./loading.jl:1105 [9] include(::Module, ::String) at ./Base.jl:31 [10] top-level scope at none:2 [11] eval at ./boot.jl:330 [inlined] [12] eval(::Expr) at ./client.jl:425 [13] top-level scope at ./none:3 in expression starting at /home/zongkai/.julia/packages/AutoRisk/g60Ag/src/collection/dataset.jl:8

It seems to me a version incompatibility issue of HDF5. So I wonder which version of HDF5 was used back to the time the installation instruction was created.

BTW, I used the specified version mentioned in other issues for these two packages which helped resolved a lot of "xxx not defined" issues.

Thanks.

tianzongkai commented 2 years ago

I found HDF5File definition in "HDF5.jl" file in v0.12.5 , but not in v0.16.5. So I guess v0.12.5 should work.