Following this guide fixes my issues (x86 Mac):
https://github.com/KxSystems/pykx?tab=readme-ov-file#building-from-source