From: Edoardo P. <e....@nk...> - 2009-03-31 10:58:24
|
Dear users, I'd like to use gnuplot-py on windowsxp. I have python 2.6. Apparently I managed to take the setup.py install to the end. As a matter of facts import Gnuplot doesn't return errors. Anyway when I try the demo.py I get this: gnuplot> set terminal windows gnuplot> set title "A simple example" gnuplot> set data style linespoints gnuplot> plot "c:\\docume~1\\ef634~1.pas\\locals~1\\temp\\tmpm5ee2g.gnuplot" notitle Please press return to continue... Traceback (most recent call last): File "C:\Program Files\Paive-1.0\Lib\site-packages\Gnuplot\demo.py", line 110, in <module> demo() File "C:\Program Files\Paive-1.0\Lib\site-packages\Gnuplot\demo.py", line 36, in demo g.reset() File "C:\Program Files\Paive-1.0\lib\site-packages\Gnuplot\_Gnuplot.py", line 366, in reset self('reset') File "C:\Program Files\Paive-1.0\lib\site-packages\Gnuplot\_Gnuplot.py", line 210, in __call__ self.gnuplot(s) File "C:\Program Files\Paive-1.0\lib\site-packages\Gnuplot\gp_win32.py", line 130, in __call__ self.write(s + '\n') IOError: [Errno 22] Invalid argument I have tried to check the proper file names in the gp_win32.py and updated to the location of pgnuplot.exe but there was no apparent difference: it always failed. I presume that the error is indicating something different but I cannot figure out what. I gave a look at the mailing list archives before writing this email. Thanks Edoardo -- Edoardo Pasca, Ph.D Nederlands Kanker Instituut -- Antoni van Leeuwenhoek Ziekenhuis Radiotherapy Department Plesmanlaan 121 1066 CX Amsterdam tel: 0031 (0)20 512 1759 |