python - Spyder Matplotlib RuntimeError: dvipng was not able to process the following file -


this following problem seems occur on spyder ide, not occur when run script command line.

trying make simple plot using pyplot python 2.7.12 |anaconda custom (64-bit)|:

import matplotlib.pyplot plt plt.plot(x,y) 

i got following message:

sh: 1: dvipng: not found traceback (most recent call last):   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py", line 176, in __draw_idle_agg     figurecanvasagg.draw(self)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 474, in draw     self.figure.draw(self.renderer)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/artist.py", line 61, in draw_wrapper     draw(artist, renderer, *args, **kwargs)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/figure.py", line 1159, in draw     func(*args)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/artist.py", line 61, in draw_wrapper     draw(artist, renderer, *args, **kwargs)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 2324, in draw     a.draw(renderer)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/artist.py", line 61, in draw_wrapper     draw(artist, renderer, *args, **kwargs)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/axis.py", line 1111, in draw     tick.draw(renderer)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/artist.py", line 61, in draw_wrapper     draw(artist, renderer, *args, **kwargs)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/axis.py", line 252, in draw     self.label1.draw(renderer)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/artist.py", line 61, in draw_wrapper     draw(artist, renderer, *args, **kwargs)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/text.py", line 792, in draw     mtext=mtext)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 253, in draw_tex     z = texmanager.get_grey(s, size, self.dpi)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/texmanager.py", line 583, in get_grey     pngfile = self.make_png(tex, fontsize, dpi)   file "/home/ohm/anaconda2/lib/python2.7/site-packages/matplotlib/texmanager.py", line 524, in make_png     'dvipng: \n\n' % dvifile + report) runtimeerror: dvipng not able process following file: /home/ohm/.cache/matplotlib/tex.cache/d0e4b65f3cbceaa40d39cd0b4aa94322.dvi here full report generated dvipng:  

somebody knows going on here?


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -