在安装并使用GlobalEnergyGIS库时出现问题,比较着急,现在判断是库本身的问题,问题如下:
如有人愿意帮忙查看,并辅助运行整个库和相关功能,将有偿提供500元。
联系方式请私信,非常感谢!
- Julia Version 1.6.6
Commit b8708f954a (2022-03-28 07:17 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: AMD Ryzen 7 5800H with Radeon Graphics
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, generic)
Environment:
JULIA_PKG_SERVER = https://mirrors.bfsu.edu.cn/julia
- Status
C:\Users\Administrator\.julia\environments\v1.6\Project.toml
[ec485272] ArnoldiMethod v0.2.0
[3da002f7] ColorTypes v0.11.4
[c3611d14] ColorVectorSpace v0.9.9
[5ae59095] Colors v0.12.8
[d38c429a] Contour v0.5.7
[150eb455] CoordinateTransformations v0.6.2
[663a7486] FreeTypeAbstraction v0.9.9
[28b8d3ca] GR v0.64.4
[db073c08] GeoMakie v0.2.2
[31bfc850] GlobalEnergyGIS v0.1.0https://github.com/niclasmattsson/GlobalEnergyGIS#master
[a09fc81d] ImageCore v0.9.4
[51556ac3] ImageDistances v0.2.15
[6a3955dd] ImageFiltering v0.7.1
[4e3cecfd] ImageShow v0.3.6
[916415d5] Images v0.25.2
[a98d9a8b] Interpolations v0.13.6
[652e05fd] JuliaZH v1.6.0
[b8a86587] NearestNeighbors v0.4.11
[f57f5aa1] PNGFiles v0.3.16
[9a7e659c] Proj4 v0.7.6
[94ee1d12] Quaternions v0.5.6
[dee08c22] RegionTrees v0.3.2
[6038ab10] Rotations v1.3.1
[0775deef] SoftPosit v0.5.0
[4c63d2b9] StatsFuns v0.9.18
[09ab397b] StructArrays v0.6.11
[009559a3] XGBoost v1.5.2
- 出现的错误:
julia> using GlobalEnergyGIS
[ Info: Precompiling GlobalEnergyGIS [31bfc850-377e-11e9-327a-adf9289f3a6c]
ERROR: LoadError: LoadError: syntax: invalid syntax &smallregions around C:\Users\Administrator.julia\packages\GlobalEnergyGIS\rQD8B\src\readclimatedata.jl:203
Stacktrace:
[1] top-level scope
@ C:\Users\Administrator.julia\packages\GlobalEnergyGIS\rQD8B\src\readclimatedata.jl:193
[2] include(mod::Module, _path::String)
@ Base .\Base.jl:384
[3] include(x::String)
@ GlobalEnergyGIS C:\Users\Administrator.julia\packages\GlobalEnergyGIS\rQD8B\src\GlobalEnergyGIS.jl:1
[4] top-level scope
@ C:\Users\Administrator.julia\packages\GlobalEnergyGIS\rQD8B\src\GlobalEnergyGIS.jl:31
[5] include
@ .\Base.jl:384 [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::Nothing)
@ 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
ERROR: Failed to precompile GlobalEnergyGIS [31bfc850-377e-11e9-327a-adf9289f3a6c] to C:\Users\Administrator.julia\compiled\v1.6\GlobalEnergyGIS\jl_144.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, 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