Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ask a question about the module

Reply
Thread Tools

ask a question about the module

 
 
leo zhao
Guest
Posts: n/a
 
      11-11-2009
when I run a program, it list the hint:



Could not import module "Gnuplot" - it is not installed on your
system. You need to install the Gnuplot.py package.
\easyviz\gnuplot_.py(41) <module>:
Traceback (most recent call last):
File "E:\study\python\commodity modle 10.23.py", line 3, in <module>
import multipleloop as mp
File "E:\study\python\multipleloop.py", line 81, in <module>
from scitools.misc import str2obj
File "C:\Python26\lib\site-packages\scitools\__init__.py", line 67,
in <module>
import sys, std
File "C:\Python26\lib\site-packages\scitools\std.py", line 26, in
<module>
from scitools.easyviz import *
File "C:\Python26\lib\site-packages\scitools\easyviz\__init__.py",
line 1819, in <module>
exec(cmd)
File "<string>", line 1, in <module>
File "C:\Python26\lib\site-packages\scitools\easyviz\gnuplot_.py",
line 42, in <module>
import Gnuplot
ImportError: No module named Gnuplot


the above is the hint from python window, I know Gnuplot is a software
and it can help us to make graphs, however, after I download Gnuplot
and run it, the problem still exist. Is there any expert can help me
solve this problem?
Thank you very much!
 
Reply With Quote
 
 
 
 
Daniel Fetchinson
Guest
Posts: n/a
 
      11-12-2009
> Could not import module "Gnuplot" - it is not installed on your
> system. You need to install the Gnuplot.py package.
> \easyviz\gnuplot_.py(41) <module>:
> Traceback (most recent call last):
> File "E:\study\python\commodity modle 10.23.py", line 3, in <module>
> import multipleloop as mp
> File "E:\study\python\multipleloop.py", line 81, in <module>
> from scitools.misc import str2obj
> File "C:\Python26\lib\site-packages\scitools\__init__.py", line 67,
> in <module>
> import sys, std
> File "C:\Python26\lib\site-packages\scitools\std.py", line 26, in
> <module>
> from scitools.easyviz import *
> File "C:\Python26\lib\site-packages\scitools\easyviz\__init__.py",
> line 1819, in <module>
> exec(cmd)
> File "<string>", line 1, in <module>
> File "C:\Python26\lib\site-packages\scitools\easyviz\gnuplot_.py",
> line 42, in <module>
> import Gnuplot
> ImportError: No module named Gnuplot
>
>
> the above is the hint from python window, I know Gnuplot is a software
> and it can help us to make graphs, however, after I download Gnuplot
> and run it, the problem still exist. Is there any expert can help me
> solve this problem?
> Thank you very much!



Did you also install the python bindings for gnuplot? If not, you can
get it from
http://gnuplot-py.sourceforge.net/

HTH,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Q] How can I ask to which module a method belongs to? Markus Gaelli Ruby 3 09-02-2006 08:55 PM
Re: module docstring, documentation,anything? please note is the module type/object NOT some module Maric Michaud Python 0 06-24-2006 12:42 PM
how to ask a question... =?Utf-8?B?bTByaw==?= MCSE 62 09-11-2005 03:18 PM
May I ask a question? Leo MCSE 8 01-22-2004 07:29 PM
ask for 070-292 question Steven MCSE 3 09-23-2003 05:06 PM



Advertisments