So I can install wxpython4.2.2 on windows 10 (latest update) using python 3.10. But when I use python 3.12.6 I get the following issue:
Python 3.12.6 (tags/v3.12.6:a4a2d2b, Sep 6 2024, 20:11:23) [MSC v.1940 64 bit (AMD64)] on win32
import wx
Traceback (most recent call last):
File “”, line 1, in
File “C:\Program Files\Python312\Lib\site-packages\wx_init_.py”, line 17, in
from wx.core import *
File “C:\Program Files\Python312\Lib\site-packages\wx\core.py”, line 12, in
from ._core import *
ImportError: DLL load failed while importing _core: The specified module could not be found.
I believe the module is the agw module and it might be something with the gradientbutton. This is the first issue I have seen with wxpython 4.2.2 (I have successfully installed on windows 10 without issue). Sure could use some help here…
I am unclear how that is related to AGW… your traceback shows that your installation breaks in wx._core, which is well before anything in AGW is looked at.
When I try to debug the issue I get an error stating that python can not load the module agw. When I then try to stop the debugger within agw I get an other error which suggest that it can not load gradientbutton. But I have gone down the wrong path many times. So i might be way off base.