I am getting a dvipng version error when I run:

import Numeric,matplotlib
matplotlib.use('Agg')
from matplotlib import rc
rc('text', usetex=True)
import pylab

pylab.figure(num=1,figsize=(6,4))
pylab.plot(Numeric.arange(10), Numeric.arange(10)**2)
pylab.axis( (0,9,0,81) )
pylab.xlabel(r'$width$')
pylab.ylabel(r'$Height (km)$')

filename='c:/test.png'
pylab.savefig(filename,dpi=100)
pylab.clf()

here is a bit of the error message:

File "C:\Python24\Lib\site-packages\matplotlib\texmanager.py", line 58, in
get_dvipng_version
    raise RuntimeError('Could not obtain dvipng version')
RuntimeError: Could not obtain dvipng version

I have  winXP, python2.4, matplotlib0.87, miktex2.5.  I downloaded dvipng1.9
from sourceforge, but have no idea what to do with it.  do i need a 'c'
compiler to install it?
-- 
View this message in context: 
http://www.nabble.com/dvipng-version-error-running-matplotlib-on-windows-tf3078547.html#a8553205
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to