From: Neal B. <ndb...@gm...> - 2012-03-28 18:22:21
|
John Hunter wrote: > On Wed, Mar 28, 2012 at 8:57 AM, Neal Becker > <ndb...@gm...> wrote: > >> qt-x11-4.8.0-7.fc16.x86_64 >> PyQt4-4.8.6-1.fc16.x86_64 >> >> But interestingly, I'm not actually using the display in this script. I'm >> using >> pdfpages. > > > At the beginning of your script (before importing pylab/pyplot) you should > be doing > > import matplotlib > matplotlib.use('pdf') > > It looks like you are inadvertently importing the qt library in a headless > script run. > > JDH Thanks, but should that cause a (scary looking) error? Or is there a real problem? |