Skip to content

problem about precompiling the forked package #377

Closed
@peterchen96

Description

@peterchen96

when I want to use the latest forked ReinforcementLearning.jl package, it would raise error when precompiling just like following:

julia> using ReinforcementLearning
[ Info: Precompiling ReinforcementLearning [158674fc-8238-5cab-b5ba-03dfc80d1318]
ERROR: LoadError: LoadError: UndefVarError: with_workspace not defined
Stacktrace:
 [1] include(mod::Module, _path::String)
   @ Base ./Base.jl:386
 [2] include(x::String)
   @ NNlibCUDA ~/.julia/packages/NNlibCUDA/806f6/src/NNlibCUDA.jl:1
 [3] top-level scope
   @ ~/.julia/packages/NNlibCUDA/806f6/src/NNlibCUDA.jl:15
 [4] include
   @ ./Base.jl:386 [inlined]
 [5] 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:1213
 [6] top-level scope
   @ none:1
 [7] eval
   @ ./boot.jl:360 [inlined]
 [8] eval(x::Expr)
   @ Base.MainInclude ./client.jl:446
 [9] top-level scope
   @ none:1
in expression starting at /home/pchen/.julia/packages/NNlibCUDA/806f6/src/cudnn/cudnn.jl:1
in expression starting at /home/pchen/.julia/packages/NNlibCUDA/806f6/src/NNlibCUDA.jl:1

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