FluxML / Gym.jl

Gym environments in Julia
MIT License
54 stars 19 forks source link

Tracker #39

Open christywarden734 opened 4 years ago

christywarden734 commented 4 years ago

Hello! I ran julia> ] add https://github.com/FluxML/Gym.jl from terminal and then tried using Gym and got the following error

ERROR: LoadError: UndefVarError: Tracker not defined Stacktrace: [1] include at ./boot.jl:328 [inlined] [2] include_relative(::Module, ::String) at ./loading.jl:1105 [3] include(::Module, ::String) at ./Base.jl:31 [4] top-level scope at none:2 [5] eval at ./boot.jl:330 [inlined] [6] eval(::Expr) at ./client.jl:425 [7] top-level scope at ./none:3 in expression starting at /Users/christywarden/.julia/packages/Gym/ODARK/src/Gym.jl:4 ERROR: Failed to precompile Gym [56b9baea-2481-11e9-37ae-75904354ad8c] to /Users/christywarden/.julia/compiled/v1.3/Gym/Z6zPi_B9rLB.ji. Stacktrace: [1] error(::String) at ./error.jl:33 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283 [3] _require(::Base.PkgId) at ./loading.jl:1024 [4] require(::Base.PkgId) at ./loading.jl:922 [5] require(::Module, ::Symbol) at ./loading.jl:917

Is the use of Tracker out of date? Any help would be greatly appreciated

ashryaagr commented 4 years ago

I had faced the same issue. Go to ~/.julia/packages/Gym using terminal and then navigate to src/Gym.jl and comment out the line using Flux.Tracker.

christywarden734 commented 4 years ago

I had faced the same issue. Go to ~/.julia/packages/Gym using terminal and then navigate to src/Gym.jl and comment out the line using Flux.Tracker.

Thanks so much! This fixed the issue :)

xgdgsc commented 4 years ago

I also see this.