When I launch the demo and try to load the HTML2 page I get the error attached, but when I run the initials imports in a command line all goes fine, so the html2 module was compiled with no issues.
What does ‘compiled with Pypi’ mean? It sounds like the wxPython version you have installed does not have WebView support, most likely due to missing WebKit development libraries when it was compiled.
I am not sure, but perhaps something got cached? It will need to recompile wxWidgets, so if you didn’t see that happening, then it didn’t work. If you are using a venv, then I would just delete your venv and create a new one.
Yeah, Robin has implemented wrappers so that when certain optional components (e.g., WebKit) are missing during the wxWidgets build, the wxPython build won’t fail. Now you’ll get that NotImplementedError exception.
Are you using a virtual env? If so, I would just delete it and create a new one. Otherwise, I’m not sure where the wxWidgets build gets stored by pip. You would need to clear it out so wxPython will build it again.
No, its for my main dev machine… so I need to clean pip cache and force install again… that will take sometime, I’ll post later the results when its done… thanks!
For future reference you can get pre-built wheels for Ubuntu 20.04 here, and for building it yourself you can see the list of needed dev packages in this Dockerfile script.