I make heavy use of a library called PyQtGraph. I am trying to:
import pyqtgraph as pg
But in the Leo IPython qtconsole I am getting:
import pyqtgraph as pg
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-1-e5a51b506085> in <module>()
----> 1 import pyqtgraph as pg
C:\Anaconda\lib\site-packages\pyqtgraph\__init__.py in <module>()
11 ## 'Qt' is a local module; it is intended mainly to cover up the
differences
12 ## between PyQt4 and PySide.
---> 13 from .Qt import QtGui
14
15 ## not really safe--If we accidentally create another QApplication,
the process hangs (and it is very difficult to trace the cause)
C:\Anaconda\lib\site-packages\pyqtgraph\Qt.py in <module>()
30 USE_PYSIDE = True
31 except ImportError:
---> 32 raise Exception("PyQtGraph requires either PyQt4 or
PySide; neither package could be imported.")
33
34 if USE_PYSIDE:
Exception: PyQtGraph requires either PyQt4 or PySide; neither package could
be imported.
I have also cross posted to the pyqtgraph developer's google group.
I found that if I attempt the same import in a standalone IPython QtConsole
window using the "--gui=qt" tag I get the same error, so I'm wondering if
Leo uses the same tag. And possibly how we can get around it.
I'm very excited by what Leo has to offer, specifically using clones.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.