Hi,
I am a new Julia user. I made a simple script to save figures. Note that here I don’t want to display each figure, but instead only to save them.
I tested the script on a local machine that is linux, and I also on a mac one and it is working fine. I them submitted the code on a remote server.
However, I am getting the error below.
Can you please help me to find a solution for it ?
Thank you in advance,
/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/init.py:1401: UserWarning: This call to matplotlib.use() has no
effect
because the backend has already been chosen;
matplotlib.use() must be called before pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
WARNING: No working GUI backend found for matplotlib
ERROR: LoadError: InitError: PyError (:PyImport_ImportModule) <type ‘exceptions.ImportError’>
ImportError(“/lib64/libz.so.1: version `ZLIB_1.2.3.4’ not found (required by /home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/mat
plotlib/…/…/…/libpng16.so.16)”,)
File “/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/pyplot.py”, line 29, in
import matplotlib.colorbar
File “/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/colorbar.py”, line 36, in
import matplotlib.contour as contour
File “/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/contour.py”, line 23, in
import matplotlib.text as text
File “/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/text.py”, line 33, in
from matplotlib.backend_bases import RendererBase
File “/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/backend_bases.py”, line 63, in
import matplotlib.textpath as textpath
File “/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/textpath.py”, line 20, in
from matplotlib.mathtext import MathTextParser
File “/home/josimar/.julia/v0.5/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/mathtext.py”, line 62, in
import matplotlib._png as _png
in pyerr_check at /home/josimar/.julia/v0.5/PyCall/src/exception.jl:56 [inlined]
in pyerr_check at /home/josimar/.julia/v0.5/PyCall/src/exception.jl:61 [inlined]
in macro expansion at /home/josimar/.julia/v0.5/PyCall/src/exception.jl:81 [inlined]
in pyimport(::String) at /home/josimar/.julia/v0.5/PyCall/src/PyCall.jl:391
in init() at /home/josimar/.julia/v0.5/PyPlot/src/init.jl:189
in _include_from_serialized(::String) at ./loading.jl:150
in _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:187
in _require_search_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:217
in require(::Symbol) at ./loading.jl:371
in include_from_node1(::String) at ./loading.jl:488
in process_options(::Base.JLOptions) at ./client.jl:262
in _start() at ./client.jl:318
during initialization of module PyPlot