I am trying to setup the DPU-PYNQ on target device with fresh and I have followed the steps which was mentioned here.
- Download the Pynq v2.5 image for your target (use Z1 or Z2 for Ultra96 target depending on board version) Link to image: Release Glasgow Release · Xilinx/PYNQ · GitHub
- Follow Pynq instructions for setting up the board: pynq setup
- After connecting to the board, make sure to run as root. Execute
su
- Set up DPU on Pynq by following the steps here: DPU Pynq setup
- Run the following command to download the DPU bitstream:
python3 -c ‘from pynq_dpu import DpuOverlay ; overlay = DpuOverlay(“dpu.bit”)’
- Check whether the DPU kernel is alive:
dexplorer -w
At step 4, I am seeing following error while running the “python3 install pynq-dpu” command
Error:
Collecting pynq-dpu
- Using cached https://files.pythonhosted.org/packages/1f/83/775a04938e22c0575e30a72435a4a3e1402a5188d7bd21f53bd482a0d153/pynq_dpu-1.2.0.tar.g* z
- Complete output from command python setup.py egg_info:*
- Traceback (most recent call last):*
-
File "<string>", line 1, in <module>*
-
File "/tmp/pip-build-f4yw32l3/pynq-dpu/setup.py", line 31, in <module>*
-
from pynq.utils import build_py*
- ModuleNotFoundError: No module named ‘pynq.utils’*
-
- ----------------------------------------* Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-f4yw32l3/pynq-dpu/
looks like I am missing something here, Can you please help on this?
Note:
- Now I have tried with and without 2.6 upgrade step and still I am seeing same error.
- Last time somehow I was able to build and run resnet50 model on target device.
Thanks and Regards, Raju