centos7 安装wxPython

*** exact error that occured. This usually means GTK+ is incorrectly installed.

configure: error:

The development files for GTK+ were not found. For GTK+ 2, please

ensure that pkg-config is in the path and that gtk+-2.0.pc is

installed. For GTK+ 1.2 please check that gtk-config is in the path,

and that the version is 1.2.3 or above. Also check that the

libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config

--libs' are in the LD_LIBRARY_PATH or equivalent.

yum -y install gtk3 gtk3-devel gtk3-devel-docs

configure: error: OpenGL libraries not available

Error running configure

ERROR: failed building wxWidgets

yum install mesa*

configure: error: GStreamer not available

yum install gstreamer*