I had PyPlot and it was working very well unless that it was old and updated features were not working. So I updated both matplotlib and PyPlot by removing and installing them again. But I could not precompile PyPlot anymore. First it gave this Error: malformed expression. I run Pkg.checkout("PyCall") and not I got new errror:
LoadError: LoadError: LoadError: [91mArgumentError: Module Libdl not found in current path.
Run Pkg.add("Libdl") to install the Libdl package.[39m
while loading /home/myubuntu/.julia/v0.6/PyCall/src/../deps/depsutils.jl, in expression starting on line 3
while loading /home/myubuntu/.julia/v0.6/PyCall/src/PyCall.jl, in expression starting on line 40
while loading /home/myubuntu/.julia/v0.6/PyPlot/src/PyPlot.jl, in expression starting on line 4
_require(::Symbol) at loading.jl:428
require(::Symbol) at loading.jl:398
include_from_node1(::String) at loading.jl:569
include(::String) at sysimg.jl:14
include_from_node1(::String) at loading.jl:569
eval(::Module, ::Any) at boot.jl:235
_require(::Symbol) at loading.jl:483
require(::Symbol) at loading.jl:398
include_from_node1(::String) at loading.jl:569
eval(::Module, ::Any) at boot.jl:235
_require(::Symbol) at loading.jl:483
require(::Symbol) at loading.jl:398
include_string(::String, ::String) at loading.jl:515
eval(::Module, ::Any) at boot.jl:235
(::Atom.##119#122)() at eval.jl:148
withpath(::Atom.##119#122, ::Void) at utils.jl:30
withpath(::Function, ::Void) at eval.jl:38
macro expansion at eval.jl:147 [inlined]
(::Atom.##118#121{Dict{String,Any}})() at task.jl:80
It seems you are using Julia 0.6. The master branches of PyCall and PyPlot do not support Julia 0.6 anymore. You need to install the released version of them; i.e., use Pkg.add not Pkg.checkout.
I had PyPlot and it was working very well unless that it was old and updated features were not working. So I updated both matplotlib and PyPlot by removing and installing them again. But I could not precompile PyPlot anymore. First it gave this Error: malformed expression. I run Pkg.checkout("PyCall") and not I got new errror:
LoadError: LoadError: LoadError: [91mArgumentError: Module Libdl not found in current path. Run
Pkg.add("Libdl")
to install the Libdl package.[39m while loading /home/myubuntu/.julia/v0.6/PyCall/src/../deps/depsutils.jl, in expression starting on line 3 while loading /home/myubuntu/.julia/v0.6/PyCall/src/PyCall.jl, in expression starting on line 40 while loading /home/myubuntu/.julia/v0.6/PyPlot/src/PyPlot.jl, in expression starting on line 4 _require(::Symbol) at loading.jl:428 require(::Symbol) at loading.jl:398 include_from_node1(::String) at loading.jl:569 include(::String) at sysimg.jl:14 include_from_node1(::String) at loading.jl:569 eval(::Module, ::Any) at boot.jl:235 _require(::Symbol) at loading.jl:483 require(::Symbol) at loading.jl:398 include_from_node1(::String) at loading.jl:569 eval(::Module, ::Any) at boot.jl:235 _require(::Symbol) at loading.jl:483 require(::Symbol) at loading.jl:398 include_string(::String, ::String) at loading.jl:515 eval(::Module, ::Any) at boot.jl:235 (::Atom.##119#122)() at eval.jl:148 withpath(::Atom.##119#122, ::Void) at utils.jl:30 withpath(::Function, ::Void) at eval.jl:38 macro expansion at eval.jl:147 [inlined] (::Atom.##118#121{Dict{String,Any}})() at task.jl:80