[PyQt] Newbie: Where is PyQwt for QT5 ?
Williams Jr., Ernest L.
ernesto at slac.stanford.edu
Sun Apr 26 03:24:23 BST 2015
Hi,
I also tried the pyqtgraph GIT development branch
But I get:
Examples
PyQtGraph includes an extensive set of examples that can be accessed by running:
import pyqtgraph.examples
pyqtgraph.examples.run()
[ernesto at icd-pc90626 pyqtgraph-develop]$ python
Python 2.7.9 (default, Mar 18 2015, 23:11:53)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyqtgraph.examples
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named examples
>>> import pyqtgraph
>>> help pyqtgraph
File "<stdin>", line 1
help pyqtgraph
^
SyntaxError: invalid syntax
>>> import pyqtgraph.examples
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named examples
>>> pyqtgraph.examples.run()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'examples'
>>>
________________________________________
From: Williams Jr., Ernest L.
Sent: Saturday, April 25, 2015 6:47 PM
To: Erik Hvatum; pyqt at riverbankcomputing.com
Cc: Williams Jr., Ernest L.
Subject: RE: [PyQt] Newbie: Where is PyQwt for QT5 ?
________________________________________
From: PyQt [pyqt-bounces at riverbankcomputing.com] on behalf of Erik Hvatum [ice.rikh at gmail.com]
Sent: Saturday, April 25, 2015 2:59 PM
To: pyqt at riverbankcomputing.com
Subject: Re: [PyQt] Newbie: Where is PyQwt for QT5 ?
>From http://sourceforge.net/p/pyqwt/mailman/message/30800538/ :
Hi,
I am the author of PyQwt, I do not use it anymore, and I removed PyQwt
from my computers.
I recommend http://www.pyqtgraph.org/
Best regards -- Gerard
pyqtgraph does supoort PyQt5. From https://github.com/pyqtgraph/pyqtgraph/blob/b700a1ad3d0f9696768774ba47f9a2f07fecd812/README.md:
==================================================================
I am using PyQT5
After installation, I tried to run the examples. I get the following error
>>> import pyqtgraph.examples
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyqtgraph/__init__.py", line 13, in <module>
from .Qt import QtGui
File "pyqtgraph/Qt.py", line 32, in <module>
raise Exception("PyQtGraph requires either PyQt4 or PySide; neither package could be imported.")
Exception: PyQtGraph requires either PyQt4 or PySide; neither package could be imported.
>>>
Requirements
* PyQt 4.7+, PySide, or PyQt5
* python 2.6, 2.7, or 3.x
* NumPy
* For 3D graphics: pyopengl and qt-opengl
* Known to run on Windows, Linux, and Mac.
Cheers,
Erik
On Sat, Apr 25, 2015 at 11:20 AM, Williams Jr., Ernest L. <ernesto at slac.stanford.edu<mailto:ernesto at slac.stanford.edu>> wrote:
Hi,
I am a newbie here.
I have been using the QT5 framework for UI
==========================================
Currently, I have the following on RHEL6 x86_64
(1) Qt-5.4.1
(2) qwt-6.1.2
(3) python2.7.9
(4) PyQt-gpl-5.4.1
(5) PyQwt-5.2.0 (Can't be installed with QT5)
==========================================
Now, I am stuck because I do not wish to return to QT4.
Where can I get a version of PyQWT that is working with QT5 ?
I can't even find a development GIT repo for PyQwt :(
Thanks for any help.
Cheers,
Ernesto
_______________________________________________
PyQt mailing list PyQt at riverbankcomputing.com<mailto:PyQt at riverbankcomputing.com>
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list