|
From: <py...@ya...> - 2002-10-03 02:03:32
|
Hello Michael,
I still have some setting up problems.
But I now am able to see Gnuplot in the sys.path.
>>> import sys
>>> print sys.path
['', '/usr/local/lib/python2.1',
'/usr/local/lib/python2.1/plat-linux2',
'/usr/local/lib/python2.1/lib-tk',
'/usr/local/lib/python2.1/lib-dynload',
'/usr/local/lib/python2.1/site-packages',
'/usr/local/lib/python2.1/site-packages/Gnuplot',
'/usr/local/lib/python2.1/site-packages/Numeric']
When i tried the method before (using
g = Gnuplot.Gnuplot()), i get the follow error
message:
>>> import Gnuplot
>>> g = Gnuplot.Gnuplot()
>>> sh: gnuplot: command not found
I have no idea what "sh" means.
I am still unable to run demo.py
sh: gnuplot: command not found
Traceback (most recent call last):
File "demo.py", line 121, in ?
demo()
File "demo.py", line 40, in demo
g.title('A simple example') # (optional)
File
"/usr/local/lib/python2.1/site-packages/Gnuplot/_Gnuplot.py",
line 439, in title
self.set_string('title', s)
File
"/usr/local/lib/python2.1/site-packages/Gnuplot/_Gnuplot.py",
line 381, in set_string
self('set %s "%s"' % (option, s))
File
"/usr/local/lib/python2.1/site-packages/Gnuplot/_Gnuplot.py",
line 206, in __call__
self.gnuplot(s)
File
"/usr/local/lib/python2.1/site-packages/Gnuplot/gp_unix.py",
line 203, in __call__
self.flush()
IOError: [Errno 32] Broken pipe
Any help would be most appreciated. Thank you.
Regards,
Johnny
http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends
|