Is installing PYNQ on VMK180 possible?

Hi, I’m trying to install pynq on a versal vmk180 eval board running petalinux 2021.2 Linux plnx-vmk180-prod 5.10.0-xilinx-v2021.2 #1 SMP Tue Oct 12 09:30:57 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

I get the following error message when I try to install pynq using pip install pynq. I wondering if installing pynq on the vmk180 is possible when the build dependencies are met. For instance, it looks like the boost libs are missing in the current image.

      creating build/lib/pynq/tests
      copying pynq/tests/test_gpio.py -> build/lib/pynq/tests
      copying pynq/tests/test_su.py -> build/lib/pynq/tests
      copying pynq/tests/test_pl.py -> build/lib/pynq/tests
      copying pynq/tests/test_mmio.py -> build/lib/pynq/tests
      copying pynq/tests/util.py -> build/lib/pynq/tests
      creating build/lib/pynq/lib/tests
      copying pynq/lib/tests/test_audio.py -> build/lib/pynq/lib/tests
      copying pynq/lib/tests/pynq_welcome.pdm -> build/lib/pynq/lib/tests
      copying pynq/lib/tests/test_switch.py -> build/lib/pynq/lib/tests
      copying pynq/lib/tests/test_button.py -> build/lib/pynq/lib/tests
      copying pynq/lib/tests/test_video.py -> build/lib/pynq/lib/tests
      copying pynq/lib/tests/test_led.py -> build/lib/pynq/lib/tests
      copying pynq/lib/tests/test_rgbled.py -> build/lib/pynq/lib/tests
      running build_ext
      make PYNQ_BUILD_ARCH=aarch64 -C pynq/lib/_pynq/_displayport/
      make: Entering directory '/var/volatile/tmp/pip-install-y2dtnr0j/pynq_dbc52b77d8cd4d3cb42729c5bb5aa1b1/pynq/lib/_pynq/_displayport'
      g++ -fPIC -I/usr/include/libdrm -c -g -std=c++11 displayport.cpp
      displayport.cpp:19:10: fatal error: boost/scope_exit.hpp: No such file or directory
         19 | #include <boost/scope_exit.hpp>
            |          ^~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make: *** [Makefile:8: all] Error 1
      make: Leaving directory '/var/volatile/tmp/pip-install-y2dtnr0j/pynq_dbc52b77d8cd4d3cb42729c5bb5aa1b1/pynq/lib/_pynq/_displayport'
      error: command 'make' failed with exit status 2
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pynq

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
1 Like

PYNQ isn’t currently supported on Versal.

Cathal

Is the support of Versal on the PYNQ roadmap? If so would you happen to have an ETA?