# V 0.6.4 -- problem with Plots

**URL:** <https://discourse.julialang.org/t/v-0-6-4-problem-with-plots/12374>\
**Category:** General Usage\
**Created:** [July 14, 2018, 10:43am UTC](https://discourse.julialang.org/t/v-0-6-4-problem-with-plots/12374 "2018-07-14T10:43:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [July 14, 2018, 10:43am UTC](https://discourse.julialang.org/t/v-0-6-4-problem-with-plots/12374/1 "2018-07-14T10:43:19Z")

</div>

I just installed Julia v. 0.6.4, and get errors with Plots…

```nohighlight
julia> using Plots
INFO: Precompiling module Plots.
WARNING: Module Compat with uuid 2991492794994 is missing from the cache.
This may mean module Compat does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__ (false) is not allowed in files that are being precompiled.
Stacktrace:
 [1] _require(::Symbol) at .\loading.jl:455
 [2] require(::Symbol) at .\loading.jl:405
 [3] include_from_node1(::String) at .\loading.jl:576
 [4] include(::String) at .\sysimg.jl:14
 [5] anonymous at .\<missing>:2
while loading C:\Users\username\.julia\v0.6\StaticArrays\src\StaticArrays.jl, in expression starting on line 14
ERROR: LoadError: Failed to precompile StaticArrays to C:\Users\username\.julia\lib\v0.6\StaticArrays.ji.
Stacktrace:
 [1] compilecache(::String) at .\loading.jl:710
 [2] _require(::Symbol) at .\loading.jl:463
 [3] require(::Symbol) at .\loading.jl:405
 [4] include_from_node1(::String) at .\loading.jl:576
 [5] include(:slight_smile: :String) at .\sysimg.jl:14
 [6] anonymous at .\<missing>:2
while loading C:\Users\username\.julia\v0.6\Plots\src\Plots.jl, in expression starting on line 7
ERROR: Failed to precompile Plots to C:\Users\username\.julia\lib\v0.6\Plots.ji.
Stacktrace:
 [1] compilecache(::String) at .\loading.jl:710
 [2] _require(::Symbol) at .\loading.jl:497
 [3] require(::Symbol) at .\loading.jl:405

```

Any ideas of what is wrong?

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [July 14, 2018, 10:59am UTC](https://discourse.julialang.org/t/v-0-6-4-problem-with-plots/12374/2 "2018-07-14T10:59:13Z")

</div>

Sometimes a combination of `Pkg.update()` and restarting your Julia session can fix these errors…

---

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [July 16, 2018, 9:31am UTC](https://discourse.julialang.org/t/v-0-6-4-problem-with-plots/12374/3 "2018-07-16T09:31:20Z")

</div>

I ended up deleating `.julia` and re-adding packages… that fixed the problem - although it took a couple of hours.

---

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [July 16, 2018, 1:15pm UTC](https://discourse.julialang.org/t/v-0-6-4-problem-with-plots/12374/4 "2018-07-16T13:15:53Z")

</div>

I’m surprised that didn’t solve it.  
Normally you get that error when you 1. load Compat (through using a package depending on it), 2. update Compat, 3. use another package dependent on Compat. Restarting the Julia session is all it takes in that case.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [July 16, 2018, 1:16pm UTC](https://discourse.julialang.org/t/v-0-6-4-problem-with-plots/12374/5 "2018-07-16T13:16:37Z")

</div>

Plots does some interactive loading of packages though which I think does not work well with precompilation.
