From: Wang, R. J <Ric...@bo...> - 2004-02-20 19:57:00
|
Hi, all I had to do was edit line 38 of "gp_win32.py" in the directory where you installed Gnuplot.py, and set the correct gnuplot_command variable. In order to have it work with spaces in the path, you have to do it like the example and enclose quotes in the quotes. I am using winXP and Gnuplot 1.7 as well -----Original Message----- From: Jon Moody [mailto:jon...@mo...]=20 Sent: Thursday, February 19, 2004 2:36 PM To: gnu...@li... Subject: [Gnuplot-py-users] Re: 1.7 problem 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. =20 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: =20 >Hello, > >Thanks for Gnuplot.py! > >The following is not a problem in 1.5: > > =20 > >>>>import Gnuplot >>>>g =3D Gnuplot.Gnuplot() >>>>g('test') >>>> =20 >>>> >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 > =20 > > >Python 3.2.3 >Numeric 23.1 >Gnuplot.py 1.7 >gnuplot 3.8j >win 2k > =20 > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Gnuplot-py-users mailing list Gnu...@li... https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users |