Building MediaCtrl and html2 WebView on Ubuntu 22.04

I have built wxPython projects that use MediaCtrl and WebView. I did the pip install on Ubuntu 22.04; I installed libwebkit2gtk-4.1-dev before running the pip install. That install did not build either the MediaCtrl or WebView, running test programs for those gave me a NotImplementedError. Is the process for building these components on Unbuntu documented anywhere? I haven’t been able to find anything very helpful.

Try installing libwebkit2gtk-4.0-dev instead (and clear your pip cache)
and try again. If that doesn’t work, attach your pip logs. I’m not sure
wxWidgets works with libwebkit2gtk-4.1-dev.

Scott

Hi Scott

That worked for WebView. What packages need to be installed for MediaCtrl to build?

Sorry about that. I failed to notice you asked about MediaCtrl too. For that you need libgstreamer1.0-dev, libgstreamer-plugins-base1.0-dev

Looking good here. Thanks!