How to install VisPy OpenGL for Python

Most PCs made in the past decade are compatible with OpenGL, enabling extremely fast 2D and 3D animation–including from Python. You DON’T have to learn OpenGL at all to make interesting 3-D plots from Numpy arrays. VisPy has a Matplotlib-like interface as well as an advanced interface to OpenGL from Python.

However, the Matplotlib-like interface of Mayavi is more stable and reliable at this time.

VisPy Prereq

pip install pyqt5 pytest

Install Vispy

pip install vispy

Note, even if vispy.test() fails (maybe due to outdated test code), you might very well still find VisPy working.

VisPy Examples

git clone

cd vispy/examples/demo/gloo