Hi I am having a similar issue. I am trying to install a package from a github but it needs av and simplejpeg. But I get the
error: failed to build installable wheels for some pyproject.toml based projects (av, simplejpeg). This error originates from a subprocess, and is likely not a problem with pip.
I'm using raspberry pi zero and python version 3.9.10 and pip version 25.0.1. Any help would be great! I installed the above dependencies and didn't change anything.