Python 3.8.16 (default, Jun 23 2024, 20:41:42)
[GCC 11.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import wx
Traceback (most recent call last):
File “”, line 1, in
File “/home/luo/myproject/venv/lib/python3.8/site-packages/wx/init.py”, line 17, in
from wx.core import *
File “/home/luo/myproject/venv/lib/python3.8/site-packages/wx/core.py”, line 12, in
from ._core import *
ModuleNotFoundError: No module named ‘wx._core’
pip list:
Package Version
I don’t know much about wheels, but am I right in assuming that wxPython-4.2.1-cp38-cp38-win_amd64.whl is built to run on Windows and will contain binary extensions compiled for Windows?
So how does just renaming it as a wheel for manylinux allow the code to run on linux?