Ok so I did find out that the actual culprit is the pynq installer that finn-examples invokes.
So just try pip3 install pynq
and it leads to the same issue.
Unfortunately I didn’t manage to tell the pynq installer to not reinstall everything.
But I did manage to tell it to use the precompiled wheels for numpy, pandas and cffi.
The steps I took are the following:
- Download
numpy-1.23.0-cp38-cp38-linux_armv7l.whl
,pandas-1.4.3-cp38-cp38-linux_armv7l.whl
andcffi-1.15.0-cp38-cp38-linux_armv7l.whl
from here. - Run
pip3 install --find-links ??? git+https://github.com/Xilinx/finn-examples.git@dev -v
where???
is the path where you downloaded the whl files to. This will make the installer use your precompiled files instead of trying to build everything.
There should however be a better solution to all of these issues.