Problem with running gnuplot

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • citronade86
    New Member
    • Apr 2008
    • 1

    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.funcuti ls
    ImportError: No module named funcutils

    Gnuplot seemed to install fine so does anyone have an idea what is wrong?
    Thank you!
  • jlm699
    Contributor
    • Jul 2007
    • 314

    #2
    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.funcuti ls ... you can't import it the way that you are trying. You could either do
    [code=python]
    import Gnuplot

    Gnuplot.funcuti ls.__something_ _()
    [/code]
    *OR
    [code=python]
    from Gnuplot import funcutils
    [/code]

    Comment

    Working...