INFO: Could not import backend "PyQt4":
cannot import name 'QtOpenGL'
INFO: Could not import backend "PyQt5":
No module named 'PyQt5'
INFO: Could not import backend "PySide":
No module named 'PySide'
INFO: Could not import backend "Pyglet":
No module named 'pyglet'
INFO: Could not import backend "Glfw":
GLFW library not found
INFO: Could not import backend "SDL2":
No module named 'sdl2'
INFO: Could not import backend "wx":
No module named 'wx'
libEGL warning: DRI2: failed to authenticate
INFO: Could not import backend "EGL":
Not ready for testing
INFO: Could not import backend "Glut":
No module named 'OpenGL'
Traceback (most recent call last):
File "signals.py", line 128, in <module>
c = Canvas()
File "signals.py", line 72, in __init__
app.Canvas.__init__(self, keys='interactive')
File "/root/Envs/env1/lib/python3.4/site-packages/vispy-0.3.0-py3.4.egg/vispy/app/canvas.py", line 136, in __init__
self._app = use_app()
File "/root/Envs/env1/lib/python3.4/site-packages/vispy-0.3.0-py3.4.egg/vispy/app/_default_app.py", line 39, in use_app
default_app = Application(backend_name)
File "/root/Envs/env1/lib/python3.4/site-packages/vispy-0.3.0-py3.4.egg/vispy/app/application.py", line 48, in __init__
self._use(backend_name)
File "/root/Envs/env1/lib/python3.4/site-packages/vispy-0.3.0-py3.4.egg/vispy/app/application.py", line 181, in _use
'PyQt' % [b[0] for b in CORE_BACKENDS])
RuntimeError: Could not import any of the backends. You need to install any of ['PyQt4', 'PyQt5', 'PySide', 'Pyglet', 'Glfw', 'SDL2', 'wx', 'EGL', 'Glut']. We recommend PyQt
These PyQt4 modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
QtNetwork, QtScript, QtScriptTools, QtXml, QtOpenGL, QtSql, QtSvg, QtTest,
QtXmlPatterns, phonon, QtAssistant(env1)[root@test PyQt-x11-gpl-4.11.2]# python
Python 3.4.2 (default, Oct 26 2014, 10:29:02)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4
>>> import QtOpenGL
>>> from PyQt4 import QtOpenGL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'QtOpenGL'--
You received this message because you are subscribed to the Google Groups "vispy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vispy+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
and here is what I get when I try to import QtOpenGL(env1)[root@test PyQt-x11-gpl-4.11.2]# python
Python 3.4.2 (default, Oct 26 2014, 10:29:02)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4
>>> import QtOpenGL
>>> from PyQt4 import QtOpenGL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'QtOpenGL'
This is strange--usually QtOpenGL is installed as a subpackage of PyQt4.
I've experienced it quite often myself that I needed to explicitly install QtOpenGL.
> As John says, we highly recommend Anaconda (at least try it and see if
> it works for you...). Any other installation method is likely to be very
> painful.
I kind of hope that Vispy is easy enough to install on any Linux box ... This seems to be a PyQt problem. We have many other backends, so it could be worth trying another, like PySide, or GLFW.