|
From: Mark B. <ma...@gm...> - 2006-07-10 08:18:27
|
Sorry to bother you again, but I recently upgraded from 0.87.2 to 0.87.3,
and
cannot save eps files anymore. I get a 'subprocess' error.
I am running Python 2.3, mpl 0.87.3, and TkAgg (although that shouldn't
matter).
Error occurs whether using toolbar or savefig to save.
Here's the script and the errror. Has this been fixed in svn?
>>> from pylab import *
>>> plot([1,2,3])
[<matplotlib.lines.Line2D instance at 0x01B50418>]
>>> savefig('c:/temp/test.eps')
Traceback (most recent call last):
File "<pyshell#2>", line 1, in ?
savefig('c:/temp/test.eps')
File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 811, in
savefig
return fig.savefig(*args, **kwargs)
File "C:\Python23\Lib\site-packages\matplotlib\figure.py", line 660, in
savefig
self.canvas.print_figure(*args, **kwargs)
File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 184, in print_figure
agg.print_figure(filename, dpi, facecolor, edgecolor, orientation,
File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py",
line 481, in print_figure
from backend_ps import FigureCanvasPS # lazy import
File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_ps.py",
line 10, in ?
from subprocess import Popen, STDOUT, PIPE
ImportError: No module named subprocess
|