Hi everybody,

I’m not very experienced in Python yet and I’m new to Gnuplot.py. I recently installed gnuplot and gnuplot.py and successfully tested to import the package but when I try to run the demo with


python demo.py

I get the following errors:

exceptions.IOError:[Errno 22] Invalid argument

Traceback (most recent call last):

  File "<string>", line 254, in run_nodebug

  File "C:\Python25\Lib\site-packages\Gnuplot\demo.py", line 110, in <module>


  File "C:\Python25\Lib\site-packages\Gnuplot\demo.py", line 36, in demo


  File "C:\Python25\lib\site-packages\Gnuplot\_Gnuplot.py", line 366, in reset


  File "C:\Python25\lib\site-packages\Gnuplot\_Gnuplot.py", line 210, in __call__


  File "C:\Python25\Lib\site-packages\Gnuplot\gp_win32.py", line 130, in __call__


IOError: [Errno 22] Invalid argument



I successfully installed Win32 extensions for python 2.5 which is added to PATH and PYTHONPATH windows system variables.

Does anybody knows the reason of my problem?

Kind regards

360plus Consult GmbH
Karlstr. 54
D - 76133 Karlsruhe

fon +49 7 21 46 46 39 - 17
fax +49 7 21 46 46 39 - 50

Sitz der Gesellschaft: Karlsruhe
Amtsgericht: Mannheim HRB 704798
Geschäftsführer: Dr. Wolfgang Bauer
USt-IdNr. DE256085397