-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't import wx #2612
Comments
Working fine for me on Windows 10 AMD64 with Python 3.12.6. 32-bit or 64-bit? Or ARM64? How did you install wxPython? |
My windows10 is x64. I install wxPython with PycharmCommunity2023 Terminal--pip install wxPython. |
Do you have e.g. Maybe, you want to run |
I have tried with a virtual environment and this did work for me. |
Thanks bro! When I don't install wxpython in a virtual environment, it works fine. |
I suspect the root cause here is probably some sort of DLL search path problem with the OP's environment. |
This issue has been mentioned on Discuss wxPython. There might be relevant details there: https://discuss.wxpython.org/t/interesting-install-issue/39992/17 |
Operating system:windows10
wxPython version & source:wxPython4.2.2
Python version & source: python3.12.2
Description of the problem:
import wx
from wx.core import *
from ._core import *
ImportError: DLL load failed while importing _core:Cannot find the specified module
Code Example (click to expand)
# Put code sample here
The text was updated successfully, but these errors were encountered: