Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to precompile Plots #2399

Closed
Dhruva2 opened this issue Feb 12, 2020 · 1 comment
Closed

Failure to precompile Plots #2399

Dhruva2 opened this issue Feb 12, 2020 · 1 comment

Comments

@Dhruva2
Copy link

Dhruva2 commented Feb 12, 2020

Hi,

I'm on Julia 1.3. I can add Plots using the Pkg package manager. However, when I run:
Using Plots

I get the error below: Any idea what's going on :)? Thanks a lot!

[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
WARNING: could not import RecipesBase.is_explicit into Plots
ERROR: LoadError: LoadError: UndefVarError: is_explicit not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./Base.jl:13
 [2] top-level scope at /Users/dvr23/.julia/packages/Plots/fGqyH/src/types.jl:48
 [3] include at ./boot.jl:328 [inlined]
 [4] include_relative(::Module, ::String) at ./loading.jl:1105
 [5] include at ./Base.jl:31 [inlined]
 [6] include(::String) at /Users/dvr23/.julia/packages/Plots/fGqyH/src/Plots.jl:1
 [7] top-level scope at /Users/dvr23/.julia/packages/Plots/fGqyH/src/Plots.jl:166
 [8] include at ./boot.jl:328 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1105
 [10] include(::Module, ::String) at ./Base.jl:31
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:330 [inlined]
 [13] eval(::Expr) at ./client.jl:425
 [14] top-level scope at ./none:3
in expression starting at /Users/dvr23/.julia/packages/Plots/fGqyH/src/types.jl:48
in expression starting at /Users/dvr23/.julia/packages/Plots/fGqyH/src/Plots.jl:166
ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to /Users/dvr23/.julia/compiled/v1.3/Plots/ld3vC_XtHqg.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
@Dhruva2
Copy link
Author

Dhruva2 commented Feb 12, 2020

Solved! Merely need to restart the REPL :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant