ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cairocffi)

Hello Everyone. I have a simple question. has anyone ever successfully install erpnext on centOS
erpnext 15pa

 python3.12 -m pip list
Package            Version
------------------ -----------
certifi            2024.12.14
cffi               1.15.1
charset-normalizer 3.3.0
click              8.1.8
cryptography       41.0.7
Cython             0.29.35
gitdb              4.0.12
GitPython          3.1.44
honcho             2.0.0
idna               3.4
Jinja2             3.1.5
MarkupSafe         3.0.2
pip                24.3.1
ply                3.11
pycparser          2.20
python-crontab     2.6.0
python-dateutil    2.9.0.post0
requests           2.32.3
semantic-version   2.10.0
setuptools         75.6.0
setuptools-rust    1.7.0
six                1.17.0
smmap              5.0.2
urllib3            1.26.18
wheel              0.45.1
Building wheels for collected packages: frappe, cairocffi
  Building wheel for frappe (pyproject.toml) ... done
  Created wheel for frappe: filename=frappe-15.51.1-py3-none-any.whl size=19234053 sha256=21958529d49adb864cc72037e68a1111285ba7055e2970365fbbcad76c76b32b
  Stored in directory: /tmp/pip-ephem-wheel-cache-hs0kcs23/wheels/77/75/55/0c1343233b7846a8245d4b05386736851a3ef2d7e1fda0658c
  Building wheel for cairocffi (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cairocffi (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "/home/denis/frappe-bench/env/bin/pip", line 5, in <module>
          from pip._internal.cli.main import main
      ModuleNotFoundError: No module named 'pip'

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cairocffi
Successfully built frappe
Failed to build cairocffi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cairocffi)

I changed different versions of python3.10-python3.12 and wheel and cairocffi but the error remains
please anyone to share the right version for the python, wheel and cairocffi, please a requirements.txt if it is possible