Discussion:
unable to run examples
Tom Saunders
2012-12-15 19:42:33 UTC
Permalink
I'm trying to get the guiqwt examples to run.

I've tried installing python-guiqwt through ubuntu 12.10 package manager
and from source, in both cases the result is the same.

In both cases I can do:

from guiqwt import teststests.run()


and run each test fine.

but if I copy the source code from an example, e.g computations.py, and run
directly I get an error:

Traceback (most recent call last):
File "tools/guiqwt.py", line 12, in <module>
from guiqwt.plot import CurveDialog
File "/home/tom/projects/inertial_tracker/tools/guiqwt.py", line 12, in
<module>
from guiqwt.plot import CurveDialog
ImportError: No module named plot

I'm really confused! can anyone help?

thanks
Tom Saunders
2012-12-16 11:36:53 UTC
Permalink
Turns out I was being an idiot and had named the example guiqwt.py... so of
course it did not work!!
Post by Tom Saunders
I'm trying to get the guiqwt examples to run.
I've tried installing python-guiqwt through ubuntu 12.10 package manager
and from source, in both cases the result is the same.
from guiqwt import teststests.run()
and run each test fine.
but if I copy the source code from an example, e.g computations.py, and
File "tools/guiqwt.py", line 12, in <module>
from guiqwt.plot import CurveDialog
File "/home/tom/projects/inertial_tracker/tools/guiqwt.py", line 12, in
<module>
from guiqwt.plot import CurveDialog
ImportError: No module named plot
I'm really confused! can anyone help?
thanks
Continue reading on narkive:
Loading...