On Sun, 4 Oct 2020, Karsten wrote:
Package: python-wxgtk3.0
Version: 3.0.2.0+dfsg-8
Severity: important
What is the secret to get this module running in Debian 10?
First i installed this package python-wxgtk3.0 without success.
Then i tried additional python-wxtools without success.
I'm assuming based on your ModuleNotFoundError that you want to use
wxPython with Python 3. In that case, the correct Debian package to
install is python3-wxgtk4.0.
admin@ip-172-31-34-34:~$ sudo apt install python3-wxgtk4.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
<SNIP>
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.38.1+dfsg-1) ...
admin@ip-172-31-34-34:~$ python3
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import wx
If for some reason, you want Python 2, python-wxgtk3.0 is the correct
package.
Scott