On Tue, Aug 16, 2011 at 4:22 AM, Damon McDougall <d.mcdoug...@warwick.ac.uk> wrote: > Hi Jeff, > > I am able to run the tex_demo.py with no problems and I can create > > output files using the Agg backend. When I try to use the PDF > > backend, however, I get an error which stems from dviread.py (pasted > > below). Any thoughts on what could be going wrong? > > Thanks! > > Jeff > > Hi Jeff, > > How did you install matplotlib? From source yourself? > > No, I'm using the Enthought Python Distribution (EPD64). > > And when you installed matplotlib, did it see that you had dvipng installed? > > FYI, you can do > > which dvipng > > to return the path where dvipng lives (if it is in your path already) or you > > can do > > locate dvipng > > to do a search for the binary if it isn't already in your path. > > P.S. You forgot to reply-all so everyone can see your response. > > $ which dvipng > /usr/texbin/dvipng > > I don't remember any complaints while running the EPD installer. > Would there be a way to check this? Is the problem definitely related > to an inability to find dvipng, or could there be other possibilities? > > Thanks, > Jeff > > I had a similar problem. I don't think it's an inability to find dvipng, I > think it's that it couldn't find dvipng when matplotlib was built. > When matplotlib builds there'll be a section of text sent to stdout under > the heading of 'OPTIONAL DEPENDENCIES', there it will tell you whether it > found dvipng when it was building. Are you able to find this? If not, are > there install logs saved somewhere after you installed matplotlib?
I'm not able to find this. The EPD installer comes as a Mac .pkg application which seems to hide everything that's going on. It saves "Receipts", but these don't contain the kind of logs we're looking for, as far as I can tell. On my previous laptop, I was using OS X Snow Leopard with python and matplotlib from an older EPD version, and I had no troubles. Perhaps I need to ask the Enthought folks. Thanks, Jeff ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users