I don't know why you're still seeing the attrdict3 error, but wxPython 4.2.0 isn't going to work with Python 3.11 anyway. I'd suggest using an older Python version, or you can use one of the wheels ...
Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x00007ffff79b3311 in ?? () from /lib64/libpython3.12.so.1.0 (gdb) bt #0 0x00007ffff79b3311 in ...
I've got the Manning book "wxPython in Action" sitting on my desk. Really need to wrap some of my CLI scripts with an interface. Most of my GUI time has been spent working in the Windows world so I ...