|
From: Roger F. <rf...@cy...> - 2003-10-27 20:47:40
|
I can't get started with version 1.7 on Windows XP Professional
I am using the following packages:
Python-2.3.2-1.exe
win32all-157.exe
Numeric-23.1.win32-py2.3.exe
gp373w32.zip
gnuplot-py-1.7.zip
Here is a transcript of my attempt to run the demo from the Command Line:
---------------------------------------------------
>C:\Python23\python demo.py
gnuplot> set terminal windows
gnuplot> set title "A simple example"
gnuplot> set data style linespoints
gnuplot> plot 'c:\docume~1\rogerf~1\locals~1\temp\tmphzycgx' notitle
Please press return to continue...
Traceback (most recent call last):
File "demo.py", line 113, in ?
demo()
File "demo.py", line 39, in demo
g.reset()
File "C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py", line 355, in
reset
self('reset')
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
--------------------------------------------------
Here is a transcript of my attempt to run the demo from PythonWin
-----------------------------------------------------
PythonWin 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)]
on win32.
Portions Copyright 1994-2001 Mark Hammond (mha...@sk...) -
see 'Help/About PythonWin' for further copyright information.
>>> import Gnuplot
>>> dir(Gnuplot)
['Data', 'DataError', 'Error', 'Errors', 'File', 'Func', 'Gnuplot',
'GnuplotOpts', 'GnuplotProcess', 'GridData', 'OptionError', 'PlotItem',
'PlotItems', '_Gnuplot', '__all__', '__builtins__', '__cvs_version__',
'__doc__', '__file__', '__name__', '__path__', '__version__', 'gp',
'gp_win32', 'termdefs', 'test_persist', 'utils']
>>> Gnuplot.GnuplotOpts.gnuplot_command
'C:\\Program Files\\gp373w32\\pgnuplot.exe'
>>> import demo
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python23\Lib\site-packages\Gnuplot\demo.py", line 22, in ?
import Gnuplot, Gnuplot.funcutils
ImportError: No module named funcutils
>>> import Gnuplot.funcutils
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
ImportError: No module named funcutils
>>>
-----------------------------------------------------
-Roger
|