Skip to content

Failed to precompile NNlib #532

Closed
Closed
@diret47

Description

@diret47

There is something wrong when I am using NNlib, under Julia version 1.9.2. What’s the reason and how can I fix this? Here are the error report:

julia> using NNlib
[ Info: Precompiling NNlib [872c559c-99b0-510c-b3b7-b6c96a88d5cd]
ERROR: LoadError: SystemError: opening file "C:\\Users\\anonymous\\.julia\\packages\\NNlib\\FAI3o\\deps\\deps.jl": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:176
  [2] #systemerror#82
    @ .\error.jl:175 [inlined]
  [3] systemerror
    @ .\error.jl:175 [inlined]
  [4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base .\iostream.jl:293
  [5] open
    @ .\iostream.jl:275 [inlined]
  [6] open(f::Base.var"#418#419"{String}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base .\io.jl:393
  [7] open
    @ .\io.jl:392 [inlined]
  [8] read
    @ .\io.jl:473 [inlined]
  [9] _include(mapexpr::Function, mod::Module, _path::String)
    @ Base .\loading.jl:1959
 [10] include(mod::Module, _path::String)
    @ Base .\Base.jl:457
 [11] include(x::String)
    @ NNlib C:\Users\anonymous\.julia\packages\NNlib\FAI3o\src\NNlib.jl:1
 [12] top-level scope
    @ C:\Users\anonymous\.julia\packages\NNlib\FAI3o\src\NNlib.jl:8
 [13] include
    @ .\Base.jl:457 [inlined]
 [14] 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, UInt128}}, source::Nothing)
    @ Base .\loading.jl:2049
 [15] top-level scope
    @ stdin:3
in expression starting at C:\Users\anonymous\.julia\packages\NNlib\FAI3o\src\NNlib.jl:1
in expression starting at stdin:3
ERROR: Failed to precompile NNlib [872c559c-99b0-510c-b3b7-b6c96a88d5cd] to "C:\\Users\\anonymous\\.julia\\compiled\\v1.9\\NNlib\\jl_372C.tmp".
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base .\loading.jl:2300
 [3] compilecache
   @ .\loading.jl:2167 [inlined]
 [4] _require(pkg::Base.PkgId, env::String)
   @ Base .\loading.jl:1805
 [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
   @ Base .\loading.jl:1660
 [6] macro expansion
   @ .\loading.jl:1648 [inlined]
 [7] macro expansion
   @ .\lock.jl:267 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:1611

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions