From: <kai...@t-...> - 2004-01-14 23:39:08
|
Hello, I guess nobody has responded to this email? I don't use windows, but I believe that this problem usually indicates that gnuplot (i.e., the program, not the Python interface) didn't start up correctly. It could be a PATH problem, for example. If you search the mailing list archives you will see several similar questions and responses. Michael John Bollinger wrote: >Hello, > >Thanks for Gnuplot.py! > >The following is not a problem in 1.5: > > > >>>>import Gnuplot >>>>g = Gnuplot.Gnuplot() >>>>g('test') >>>> >>>> >Traceback (most recent call last): > File "<stdin>", line 1, in ? > File >"C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py", >line 199, in __call_ >_ > self.gnuplot(s) > File >"C:\Python23\Lib\site-packages\Gnuplot\gp_win32.py", >line 125, in __call_ >_ > self.write(s + '\n') >IOError: [Errno 22] Invalid argument > > > >Python 3.2.3 >Numeric 23.1 >Gnuplot.py 1.7 >gnuplot 3.8j >win 2k > > -- Michael Haggerty mh...@al... |