From: Jon M. <jon...@mo...> - 2004-02-19 22:41:44
|
I had this problem under WinXP, and the way I fixed it was to install the pgnuplot.exe and wgnuplot.exe binaries in a location that didn't have a space in the pathname. For example, install them under C:\gnuplot\ instead of C:\Documents and Settings\... or C:\Program Files\... (This item would be ideal for the FAQ.txt) -- Jonathan Moody, Ph.D Molecular Imaging Research, Inc. 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 > > |