wxPython 4.1.2a1 on macOS with M1 chip

Transana <[email protected]> Mon, 16 May 2022 11:14:27 -0500
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Hi all,

I just got a Mac with an M1 chip.

I can install and run wxPython 4.1.1 through pip with no difficulties.=C2=
=A0=20
(I'm using Python 3.9.)

However, because of an issue in 4.1.1, I need to use 4.1.2a1, the latest=20
development release.=C2=A0 I have downloaded the appropriate version, and=
=20
installed it using pip.=C2=A0 When I try to import wx, however, I get the=
=20
following:

 >>> import wx
Traceback (most recent call last):
 =C2=A0 File "<stdin>", line 1, in <module>
 =C2=A0 File=20
"/Users/davidwoods/Documents/Python/git/Transana/venv/lib/python3.9/site-pa=
ckages/wx/__init__.py",=20
line 17, in <module>
 =C2=A0 =C2=A0 from wx.core import *
 =C2=A0 File=20
"/Users/davidwoods/Documents/Python/git/Transana/venv/lib/python3.9/site-pa=
ckages/wx/core.py",=20
line 12, in <module>
 =C2=A0 =C2=A0 from ._core import * ImportError: dynamic module does not de=
fine=20
module export function (PyInit__core)

Any ideas what I can do to get the lastest Dev release to work properly=20
with an M1 chip?

David

--=20
You received this message because you are subscribed to the Google Groups "=
wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
wxpython-users/9078ee98-ec1a-0c7f-3d2c-16e0642ade50%40gmail.com.