Hi !
Python crashes on import cec on my freshly installed raspberry pi zero on raspbian, with the library installed through pip.
Here are the steps to reproduce.
System: Raspbian GNU/Linux 11 (bullseye)
Model: Raspberry Pi Zero W Rev 1.1
$ sudo apt-get install libcec-dev build-essential python3-dev python3-pip
...
$ pip install cec
...
$ python -c "import cec"
Illegal instruction
# exit code 132
Note that it seems to work when built locally.