ImportError: No module named Qwt5

3,534 views
Skip to first unread message

Guy

unread,
Feb 16, 2015, 5:08:39 AM2/16/15
to guidata...@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

Carlos Pascual

unread,
Feb 16, 2015, 6:43:05 AM2/16/15
to guidata...@googlegroups.com
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
--
+----------------------------------------------------+
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: cpas...@cells.es
Phone: +34 93 592 4428
+----------------------------------------------------+

Pierre Raybaut

unread,
Feb 16, 2015, 12:59:52 PM2/16/15
to guidata...@googlegroups.com
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
À : guidata...@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_guiqw...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Guy

unread,
Feb 17, 2015, 2:28:04 AM2/17/15
to guidata...@googlegroups.com
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





בתאריך יום שני, 16 בפברואר 2015 בשעה 19:59:52 UTC+2, מאת Pierre Raybaut:
Reply all
Reply to author
Forward
0 new messages