# Installing PYNQ on ZCU102

**URL:** <https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423>\
**Category:** Support\
**Created:** [March 30, 2023, 1:25pm UTC](https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423 "2023-03-30T13:25:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![russeldodds](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@russeldodds](https://discuss.pynq.io/u/russeldodds)\
**Post date:** [March 30, 2023, 1:25pm UTC](https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423/1 "2023-03-30T13:25:19Z")

</div>

- ZCU102
- PYNQ 3.0

I am trying to install Pynq on a ZCU102 board. I have tried following the guide [PYNQ SD Card image — Python productivity for Zynq (Pynq)](https://pynq.readthedocs.io/en/latest/pynq_sd_card.html#pynq-sd-card), although I can’t follow exactly what steps are required.

So far, I have installed Ubuntu Desktop 22.04 LTS via an SD card. From here I have tried _pip install pynq_, but this returned a **error legacy-install-failure**. I believe this is because I don’t have Pynq image on the SD card.

I have looked into making an image for ZCU102. I have downloaded the rootfs aarch64 v3.0.1, Pynq source dist v3.0.1 and have Xilinx Vitis/Vivado 2022 and Petalinux installed on a Ubuntu OS.

What do I need to change for this to work with the ZCU102? Is it simply following the **Elements of the specification file** section, and changing ZCU104 to ZCU102? Or is there more required?

Once this is done, can I just follow Steps 1-4 of **Building the Image From Source** , and that will create the image I need?

Thank you.

---

<div class="post-metadata">

**Author:** ![skalade](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/skalade/32/686_2.png) [@skalade](https://discuss.pynq.io/u/skalade)\
**Post date:** [March 30, 2023, 2:45pm UTC](https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423/2 "2023-03-30T14:45:32Z")

</div>

Hi there,

Installing the pynq python package requires quite a few dependencies, including binary downloads. If you’re doing this on a Canonical provided Ubuntu image, your best bet would be to adapt some of the install steps from [Kria-Pynq](https://github.com/Xilinx/Kria-PYNQ/blob/main/install.sh), I think that’s the closest we have to an example of installing it on non-PYNQ Ubuntu images.

Here’s a relevant post on this process [An Attempt to Install PYNQ on Ubuntu for ZCU102](https://discuss.pynq.io/t/an-attempt-to-install-pynq-on-ubuntu-for-zcu102/3809)

For creating a full PYNQ image, I don’t think you need to change much, you’re right you’d need to provide a zcu102.bsp and change the .spec file accordingly. There’s a relevant post on this as well: [Failed to build PYNQ image file for ZCU102](https://discuss.pynq.io/t/failed-to-build-pynq-image-file-for-zcu102/4830)

Thanks  
Shawn

---

<div class="post-metadata">

**Author:** ![russeldodds](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@russeldodds](https://discuss.pynq.io/u/russeldodds)\
**Post date:** [March 30, 2023, 4:07pm UTC](https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423/3 "2023-03-30T16:07:11Z")

</div>

Thanks Shawn for the speedy response.

Turns out creating a full PYNQ image isn’t an option, given some limitations.

I had a look at the Kria-Pynq install steps and found the branch for ZCU102 [GitHub - ATchelet/ZCU102-PYNQ](https://github.com/ATchelet/ZCU102-PYNQ), and it looks promising for my needs.

Will report back when I get a chance to run it.

---

<div class="post-metadata">

**Author:** ![pradeep\_gautam](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/pradeep_gautam/32/3233_2.png) [@pradeep\_gautam](https://discuss.pynq.io/u/pradeep_gautam)\
**Post date:** [December 4, 2023, 4:08pm UTC](https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423/4 "2023-12-04T16:08:01Z")

</div>

Hello Russel (@russeldodds) Can you please share if you were able to successfully complete this? If yes, then can you please share the relevant links ?

Thanks  
Pradeep

---

<div class="post-metadata">

**Author:** ![gioregg](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/gioregg/32/6389_2.png) [@gioregg](https://discuss.pynq.io/u/gioregg)\
**Post date:** [October 15, 2024, 2:38pm UTC](https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423/5 "2024-10-15T14:38:02Z")

</div>

Hi @russeldodds , were you able to generate the image for the zcu102?  
Thanks,

gio

---

<div class="post-metadata">

**Author:** ![gioregg](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/gioregg/32/6389_2.png) [@gioregg](https://discuss.pynq.io/u/gioregg)\
**Post date:** [October 15, 2024, 2:39pm UTC](https://discuss.pynq.io/t/installing-pynq-on-zcu102/5423/6 "2024-10-15T14:39:57Z")

</div>

Hi @pradeep_gautam , were you able to generate the image for the zcu102?  
Thanks,

gio
