>> 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

Hmm.

You could try installing from source as per 
http://matplotlib.sourceforge.net/faq/installing_faq.html#building-and-installing-from-source-on-osx-with-epd
 and at least that way you can see what's going on.

Damon McDougall
d.mcdoug...@warwick.ac.uk
http://damon.is-a-geek.com
B2.39
Mathematics Institute
Coventry
West Midlands
CV4 7AL


------------------------------------------------------------------------------
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

Reply via email to