frameworks broken with python bindings?

Manuel Alcaraz Zambrano manuelalcarazzam at gmail.com
Mon Nov 25 22:15:54 GMT 2024


Hi,

> I have been getting errors while generating the python bindings for the kde
> frameworks for a few days / weeks. the mirror message I have is similar for
> every single project that fails:
> 
> Building Python Wheel
> /usr/bin/python3.12: No module named build.__main__; 'build' is a package
> and cannot be directly executed
> make[2]: *** [python/CMakeFiles/KUnitConversion.dir/build.make:251:
> python/KUnitConversion/
> 
> I am not sure (nor know anything about shiboken) - is there a missing
> package I need to install? if so, why cmake didn't stop there?

You need the python-build package[1]. Maybe we need to check for it before enabling building the Python bindings.

Regards.

[1]: https://pypi.org/project/build/



More information about the kde-devel mailing list