From: <py...@ya...> - 2002-10-01 01:27:18
|
Hi there, I have read through the archives for the gnuplot, and I found that I'm having similar problems to the message posted on the 13th August 2002. I can't run the demo.py or test.py. I am able to type the 'import Gnuplot' command. My problem is that I am not able to correctly execute 'g =3D Gnuplot.Gnuplot()' I get this error message: >>> import Gnuplot >>> g =3D Gnuplot.Gnuplot() File "<stdin>", line 1 g =3D Gnuplot.Gnuplot() ^ SyntaxError: invalid syntax I have installed Numeric 18.4.1 and Gnuplot-py-1.6, because I am using python2.1. When I type 'print sys.path' after importing sys, it give me this: >>> 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/Numeric'] I'm not sure if the Gnuplot package needs to be present as well? Any help will be most appreciated. Thanks Johnny http://mobile.yahoo.com.au - Yahoo! Messenger for SMS - Always be connected to your Messenger Friends |