Discussion:
[guidata/guiqwt] ImportError: No module named Qwt5
Guy
2015-02-16 10:08:39 UTC
Permalink
Hello,

i just installed the guiqwt2.3.1 and have a problem to run the basic
following script:


import guiqwt.pyplot as plt # only this line has changed!
import numpy as np
x = np.linspace(-10, 10)
plt.plot(x, x**2, 'r+')
plt.show()



after trying to Run, i got the error message:


from PyQt4.Qwt5 import (QwtPlot, QwtSymbol, QwtLinearScaleEngine,
ImportError: No module named Qwt5



how can i fix it?


Thanks,

Guy
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Carlos Pascual
2015-02-16 11:42:38 UTC
Permalink
You need to install the PyQwt5 module.
How to do this depends on your platform. For example, on debian/ubuntu,
it is :

sudo aptitude install python-qwt5-qt4

On windows I would use PythonXY to get everything installed (including
guiqwt itself)

https://code.google.com/p/pythonxy/

I hope this helps
Post by Guy
Hello,
i just installed the guiqwt2.3.1 and have a problem to run the basic
import guiqwt.pyplot as plt # only this line has changed!
import numpy as np
x = np.linspace(-10, 10)
plt.plot(x, x**2, 'r+')
plt.show()
from PyQt4.Qwt5 import (QwtPlot, QwtSymbol,
QwtLinearScaleEngine, ImportError: No module named Qwt5
how can i fix it?
Thanks,
Guy
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
ALBA Synchrotron [http://www.albasynchrotron.es]
Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: ***@cells.es
Phone: +34 93 592 4428
+----------------------------------------------------+
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pierre Raybaut
2015-02-16 17:57:30 UTC
Permalink
Hi,


You just need to install PyQwt5 which is one of guiqwt dependencies among other libraries (PyQt, guidata, NumPy, 
).


-Pierre





De : Guy
Envoyé : ‎lundi‎ ‎16‎ ‎février‎ ‎2015 ‎11‎:‎19
À : ***@googlegroups.com






Hello,




i just installed the guiqwt2.3.1 and have a problem to run the basic following script:







import guiqwt.pyplot as plt # only this line has changed!
import numpy as np
x = np.linspace(-10, 10)
plt.plot(x, x**2, 'r+')
plt.show()




after trying to Run, i got the error message:



from PyQt4.Qwt5 import (QwtPlot, QwtSymbol, QwtLinearScaleEngine,
ImportError: No module named Qwt5





how can i fix it?


Thanks,
Guy
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Guy
2015-02-17 07:28:04 UTC
Permalink
thanks all.

Pierre,
i already installed PyQt4, guidata etc.

i didn't find an install for PyQwt5 on the net. do you have it?


thanks again,
Guy
Post by Pierre Raybaut
Hi,
You just need to install PyQwt5 which is one of guiqwt dependencies among
other libraries (PyQt, guidata, NumPy, 
).
-Pierre
*De :* Guy <javascript:>
*Envoyé :* ‎lundi‎ ‎16‎ ‎février‎ ‎2015 ‎11‎:‎19
Hello,
import guiqwt.pyplot as plt # only this line has changed!
import numpy as np
x = np.linspace(-10, 10)
plt.plot(x, x**2, 'r+')
plt.show()
from PyQt4.Qwt5 import (QwtPlot, QwtSymbol, QwtLinearScaleEngine,
ImportError: No module named Qwt5
how can i fix it?
Thanks,
Guy
--
You received this message because you are subscribed to the Google Groups
"guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...