Try removing .julia/lib (the precompile cache). I had this same issue and this appears to have fixed it.
On Monday, 12 September 2016 12:06:48 UTC+1, DNF wrote: > > After updating to RC4 (binary download) plotting completely stopped > working for me. > > julia> plot(rand(5)) > [Plots.jl] Initializing backend: gr > INFO: Precompiling module GR. > WARNING: Module Compat with uuid 169833921923513 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. > in require(::Symbol) at ./loading.jl:385 > in require(::Symbol) at /Applications/Julia-0.5.app/Contents/Resources/ > julia/lib/julia/sys.dylib:? > in include_from_node1(::String) at ./loading.jl:488 > in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/ > Resources/julia/lib/julia/sys.dylib:? > in macro expansion; at ./none:2 [inlined] > in anonymous at ./<missing>:? > in eval(::Module, ::Any) at ./boot.jl:234 > in eval(::Module, ::Any) at /Applications/Julia-0.5.app/Contents/ > Resources/julia/lib/julia/sys.dylib:? > in process_options(::Base.JLOptions) at ./client.jl:239 > in _start() at ./client.jl:318 > in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/ > julia/sys.dylib:? > while loading ~/.julia/GR/src/GR.jl, in expression starting on line 7 > WARNING: Couldn't initialize gr. (might need to install it?) > > ------------------------------------------------------------------------------------------ > > > I have un- and reinstalled Plots.jl, GR.jl, PyPlot.jl and Compat.jl to no > avail. > > > I would file an issue about it, but firstly, I don't know whether it > should go on Julia, Plots.jl or Compat.jl. And, secondly, I find it weird > that no-one else has experienced this pretty showstopping bug and filed an > issue already, so I suspect it might be problem only with my installation. > > > Can anyone help me out, I'm totally stuck right now. >