468,107 Members | 1,329 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

Problem with running gnuplot

Hello I am trying to run the gnuplot module with python2.5 and Numeric installed.
When I try to run the demo I get the following error:

File "demo.py", line 22, in <module>
import Gnuplot, Gnuplot.funcutils
ImportError: No module named funcutils

Gnuplot seemed to install fine so does anyone have an idea what is wrong?
Thank you!
Apr 30 '08 #1
1 2276
314 100+
Do you have the Gnuplot program installed ? Gnuplot.py requires that program to function. The website also says that it uses distutils ...

One last thing; once you import Gnuplot you only need to call Gnuplot.funcutils ... you can't import it the way that you are trying. You could either do
Expand|Select|Wrap|Line Numbers
  1. import Gnuplot
  3. Gnuplot.funcutils.__something__()
Expand|Select|Wrap|Line Numbers
  1. from Gnuplot import funcutils
Apr 30 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by ∂}嫧F∂‹? | last post: by
4 posts views Thread by Rama Calaga | last post: by
3 posts views Thread by Blues | last post: by
6 posts views Thread by Joseph Suprenant | last post: by
reply views Thread by bwaha | last post: by
reply views Thread by Titi Anggono | last post: by
8 posts views Thread by Paul Cochrane | last post: by
2 posts views Thread by Blah | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.