$ apt-get install python-dev On RedHat/Fedora, make sure that you have installed the following packages $ sudo dnf install cmake mesa-libGLU-devel libXi-devel libXcursor-devel libXinerama-devel libXrandr-devel xorg-x11-server-devel To also get the Python bindings, you'll need to run $ sudo...