Custom processing blocks dependency errors

Hi,

I’ve been messing around with trying to a deploy a modified version of the MFE audio processing block but am currently in dependency hell. I’ve followed the custom deployment block tutorial, but using the MFE block as a base (https://github.com/edgeimpulse/processing-blocks/tree/master/mfe). However I quickly run into the issue that pip cannot find a match for the distro-info===0.23ubuntu1 requirement, and even if I bypass that, I get an issue with the pycairo dependency where it fails when trying to build the wheel. Is there some other set up I have to do with my build environment for this dockerfile to build correctly?

BTW I am using the latest Docker for Windows with the WSL2 backend

Argh, the fun of Python dependencies. They can break even if you have literally every dependency pinned to a specific version. Will push a fix later today.

1 Like

@tennies try this: https://github.com/edgeimpulse/processing-blocks/tree/upstream-21-apr-2021 - will merge into master once all tests have passed.

2 Likes

Seems to be working now, thank you!

1 Like