From: Marc F. <mcf...@ho...> - 2002-08-13 15:52:54
|
Mike, This is the error I am getting when importing Gnuplot.py >>>import Gnuplot Traceback (most recent call last): File "<interactive input>", line 1, in ? ImportError: No module named Gnuplot I hope this helps with the problem. Marc >From: Michael Haggerty <hag...@jp...> >Reply-To: hag...@jp... >To: gnu...@li... >CC: "Marc French" <mcf...@ho...> >Subject: Re: Gnuplot.py question >Date: Tue, 13 Aug 2002 15:39:21 +0200 (CEST) > >Hi, > >I can only guess because I don't know how your system is set up and >you still haven't described what isn't working, what error messages >you get, etc. > >It sounds like Gnuplot.py installed itself in an appropriate directory >for you, so you shouldn't have to do anything with your PYTHONPATH or >run things from a specific directory. > >Try running python from the command line and type "import Gnuplot". >If this works, then Gnuplot.py is installed correctly. > >Then type "g =3D Gnuplot.Gnuplot()". If this works, then gnuplot (the >plotting program) is also installed correctly. > >If those two things work, then the demo should also work. > >If something doesn't work, please tell us what error message you got! >Otherwise it is almost impossible to help you. > >By the way, I forwarded your email to the new gnuplot-py-users mailing >list. It would be good if users would subscribe to the list and use >it for discussions. > >Yours, >Michael > >Marc French writes: > > Hello Michael, > > Does the gnuplot.py need to be in a specific directory? > > Or can the path be set before importing? > > I am sorry these are probably very trivial questions, but > > I am a Visual Basic programmer. I want to use python for > > lab automation. > > Thanks for your help. > > Marc > > = > > > = > > > >From: Michael Haggerty <hag...@jp...> > > >Reply-To: hag...@jp... > > >To: "Marc French" <mcf...@ho...> > > >Subject: Re: Gnuplot.py question > > >Date: Tue, 6 Aug 2002 11:22:58 +0200 (CEST) > > > > > >Marc French writes: > > > > Hello Michael, > > > > I am having trouble getting the gnuplot.py to work in a windows > > > > environment. I am very new to python, and I think I am missing > > > > something very small. I have installed the gnuplot.py. It created a= > > > > > directory "C:\python22\lib\site-packages\Gnuplot-1.5" I have tried > > > > running both the demo.py and the test.py. I am trying to load some > > > > spectral data and do peak fitting once I get this to work. Do you > > > > have any pointers for me? Can you help? > > > > > >It would help if you would give me some information about how it > > >fails. Do you get an error message? Can you run it from the msdos > > >command line? I don't use windows but your probably have to type > > >something like > > > > > > C:\> python.exe demo.py > > > > > >Michael > > > > > >-- > > >Michael Haggerty > > >hag...@jp... > > = > > > = > > > = > > > = > > > _________________________________________________________________ > > Join the world=92s largest e-mail service with MSN Hotmail. = > > > http://www.hotmail.com > > >-- >Michael Haggerty >hag...@jp... _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |