Installation of PyPlot fails from command-line as warn is not supported anymore under 1.0.
Precompiling package PyPlot
WARNING: could not import Base.mimewritable into PyPlot
ERROR: LoadError: InitError: UndefVarError: warn not defined
Stacktrace:
[1] find_backend(::PyCall.PyObject) at /opt/juliadepot/packages/PyPlot/jXCXB/src/init.jl:160
[2] __init__() at /opt/juliadepot/packages/PyPlot/jXCXB/src/init.jl:182
[3] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:627
[4] _require_from_serialized(::String) at ./loading.jl:678
[5] macro expansion at ./logging.jl:317 [inlined]
[6] _require(::Base.PkgId) at ./loading.jl:941
[7] require(::Base.PkgId) at ./loading.jl:852
[8] macro expansion at ./logging.jl:311 [inlined]
[9] require(::Module, ::Symbol) at ./loading.jl:834
during initialization of module PyPlot
in expression starting at /tmp/install_julia_10_packages.jl:44
The following line should use
@warn
instead ofwarn
.https://github.com/JuliaPy/PyPlot.jl/blob/c16484b03a666ead097c81ceda0966d5b332780b/src/init.jl#L160
Installation of
PyPlot
fails from command-line aswarn
is not supported anymore under 1.0.