gnuplot woes, a second story
chajadan
python at chajadan.net
Tue Feb 26 02:23:26 EST 2002
When I try to run gnuplot from my Python2.2 installation, I get an error
(listed below)
I'm on windows 98, I installed NumPy, I unzipped gp371w32.zip into my main
python directory, and I tried changing the command to the gnuplot program
FROM gnuplot_command = 'pgnuplot.exe' TO gnuplot_command =
'c:\Python20\gp371w32\pgnuplot.exe'
I also changed the import of popen from win32pipe to os, but none of these
configurations seem to work.
Can you help?
Here's the error:
Traceback (most recent call last):
File "C:\PYTHON22\Pythonwin\pywin\framework\scriptutils.py", line 301,
in RunScript
exec codeObject in __main__.__dict__
File "C:\Python22\Gnuplot-1.4\demo.py", line 129, in ?
demo()
File "C:\Python22\Gnuplot-1.4\demo.py", line 55, in demo
g.reset()
File "__init__.py", line 1244, in reset
self('reset')
File "__init__.py", line 1095, in __call__
self.gnuplot(s)
File "gp_win32.py", line 100, in __call__
def __call__(self, s):
IOError: [Errno 32] Broken pipe
More information about the Python-list
mailing list