From: <bm...@ca...> - 2008-04-16 08:35:22
|
Quoting diljeet kaur <dil...@ya...>: > > > hi > im new to gnuplot...so new,that after indeterminant number of > attempts to install gnuplot.py., im still trying to do same > > i have downloaded gnuplot-py-1.7.tar & untarred it no, you should check out the svn version with the svn command, then install from the dir you checked the repository out. 1.7 is too old. > even gave python setup.py install in directory created by untarring ok > It seemingly installs gnuplot correctly it seems so > but i cannot use it from a python ide > it gives following traceback in the dir you have a test.py program, try that by runniing: python test.py also errors? > > import Gnuplot,Gnuplot.funcutils > File "/usr/local/lib/python2.5/site-packages/Gnuplot/--init--.py" , > line 165 , in <module> > from gp import Gnuplot0pts , GnuplotProcess, test_persist > File "/usr/local/lib/python2.5/site-packages/Gnuplot/gp.py", line 41, > in <module> > from gp_unix import Gnuplot0pts , GnuplotProcess, test_persist > File "/usr/local/lib/python2.5/site-packages/Gnuplot/gp_unix.py", > line 116, in <module> > from os import popen > File "/usr/local/lib/python2.5/site-packages/Gnuplot/os..py", line > 134, in <module> > from os.path import > (curdir,pardir,sep,pathsep,defpath,extsep,altsep.devnull) > ImportError:No module named path ?? I would supposse the os.path module can be imported on your setup. Trhy it. On my box: python Python 2.5.1 (r251:54863, Mar 7 2008, 03:19:34) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from os.path import >>> (curdir,pardir,sep,pathsep,defpath,extsep,altsep,devnull) >>> so that statement works just fine here. > > Note:(I have manually copied this traceback ,so,pls ignore trivial errors) > > Also i don't get wgnuplot.exe in tar you wouldn't in linux no, that is a windows executable. > Also,where should Numeric be installed.,,in directory of gnuplot or > in of python I have it in python as a package. Also scipy. Benny > Kindly help > > > Unlimited freedom, unlimited storage. Get it now, on > http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |