Kreuzberg may fail to install properly in certain environments (such as x86_64 Linux), primarily due to the absence of pre-built wheel packages, which forces a source build that is highly likely to fail. You can try installing a specific version, for example: pip install kreuzberg==4.4.0.
For more details, refer to: https://github.com/kreuzberg-dev/kreuzberg/releases