Looks like an M1 issue. Have you tried running in ...
# pact-python
m
Looks like an M1 issue. Have you tried running in Rosetta mode?