# Composable Overlay v2.7

**URL:** <https://discuss.pynq.io/t/composable-overlay-v2-7/3389>\
**Category:** Support\
**Created:** [December 4, 2021, 5:02am UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389 "2021-12-04T05:02:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jetlan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jetlan/32/2632_2.png) [@jetlan](https://discuss.pynq.io/u/jetlan)\
**Post date:** [December 4, 2021, 5:02am UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/1 "2021-12-04T05:02:16Z")

</div>

I had fresh installed PYNQ-Z2 with PYNQ 2.6 image, I follow 3 steps to install this great thing.  
It update PYNQ to 2.7.

I tried to run " [01\_composable\_overlay\_intro.ipynb]"

But I got error at first step to load bitstream

```
from composable_pipeline import ComposableOverlay
ol = ComposableOverlay("../overlay/cv_dfx_4_pr.bit")

```

cpipe = ol.composable

## I got these error message, How to install xclbinutil in PYQN-Z2? I have search internet. But have no idea about it.

FileNotFoundError Traceback (most recent call last)  
 in ()  
1 from composable\_pipeline import ComposableOverlay  
2  
----\> 3 ol = ComposableOverlay(“../overlay/cv\_dfx\_4\_pr.bit”)  
4  
5 cpipe = ol.composable

/usr/local/lib/python3.6/dist-packages/composable\_pipeline/composable.py in **init** (self, bitfile\_name, dtbo, download, ignore\_version, device)  
288 “”"  
289  
 → 290 super(). **init** (bitfile\_name, dtbo, download, ignore\_version, device)  
291  
292 switch = list()

/usr/local/lib/python3.6/dist-packages/pynq/overlay.py in **init** (self, bitfile\_name, dtbo, download, ignore\_version, device)  
338 self.\_register\_drivers()  
339  
 → 340 self.parser = self.device.get\_bitfile\_metadata(self.bitfile\_name)  
341  
342 self.ip\_dict = self.gpio\_dict = self.interrupt\_controllers = \

/usr/local/lib/python3.6/dist-packages/pynq/pl\_server/embedded\_device.py in get\_bitfile\_metadata(self, bitfile\_name)  
602  
603 def get\_bitfile\_metadata(self, bitfile\_name):  
 → 604 parser = \_get\_bitstream\_handler(bitfile\_name).get\_parser()  
605 if parser is None:  
606 raise RuntimeError(“Unable to find metadata for bitstream”)

/usr/local/lib/python3.6/dist-packages/pynq/pl\_server/embedded\_device.py in get\_parser(self)  
190 parser = HWH(hwh\_data=hwh\_data)  
191 if xclbin\_data is None:  
 → 192 xclbin\_data = \_create\_xclbin(parser.mem\_dict)  
193 xclbin\_parser = XclBin(xclbin\_data=xclbin\_data)  
194 \_unify\_dictionaries(parser, xclbin\_parser)

/usr/local/lib/python3.6/dist-packages/pynq/pl\_server/embedded\_device.py in \_create\_xclbin(mem\_dict)  
333 ‘–add-section=MEM\_TOPOLOGY:JSON:mem.json’, ‘–output’,  
334 ‘t.xclbin’, ‘–skip-bank-grouping’],  
 → 335 cwd=td, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)  
336 if completion.returncode != 0:  
337 raise RuntimeError("xclbinutil failed: " +

/usr/lib/python3.6/subprocess.py in run(input, timeout, check, \*popenargs, \*\*kwargs)  
401 kwargs[‘stdin’] = PIPE  
402  
 → 403 with Popen(\*popenargs, \*\*kwargs) as process:  
404 try:  
405 stdout, stderr = process.communicate(input, timeout=timeout)

/usr/lib/python3.6/subprocess.py in **init** (self, args, bufsize, executable, stdin, stdout, stderr, preexec\_fn, close\_fds, shell, cwd, env, universal\_newlines, startupinfo, creationflags, restore\_signals, start\_new\_session, pass\_fds, encoding, errors)  
707 c2pread, c2pwrite,  
708 errread, errwrite,  
 → 709 restore\_signals, start\_new\_session)  
710 except:  
711 # Cleanup if the child failed starting.

/usr/lib/python3.6/subprocess.py in \_execute\_child(self, args, executable, preexec\_fn, close\_fds, pass\_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore\_signals, start\_new\_session)  
1342 if errno\_num == errno.ENOENT:  
1343 err\_msg += ': ’ + repr(err\_filename)  
 → 1344 raise child\_exception\_type(errno\_num, err\_msg, err\_filename)  
1345 raise child\_exception\_type(err\_msg)  
1346

FileNotFoundError: [Errno 2] No such file or directory: ‘xclbinutil’: ‘xclbinutil’

---

<div class="post-metadata">

**Author:** ![jetlan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jetlan/32/2632_2.png) [@jetlan](https://discuss.pynq.io/u/jetlan)\
**Post date:** [December 4, 2021, 9:50am UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/2 "2021-12-04T09:50:11Z")

</div>

I modified setup.py in folder of PYNQ\_Composable\_Pipeline to use PYNQ 2.6.2  
Then the overlay can be load normally.

> python\_requires=“\>=3.6.0”,  
> install\_requires=[  
> “pynq==2.6.2”,  
> “graphviz\>=0.16”  
> ],

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [December 4, 2021, 2:19pm UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/3 "2021-12-04T14:19:22Z")

</div>

The released version is only validated with pynq 2.6.2. The is a new release for pynq 2.7 coming soon.

---

<div class="post-metadata">

**Author:** ![max90235](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/max90235/32/2719_2.png) [@max90235](https://discuss.pynq.io/u/max90235)\
**Post date:** [January 16, 2022, 4:58pm UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/4 "2022-01-16T16:58:45Z")

</div>

I also got the same problem.  
If anyone knows how to fix it, please tell me.  
thanks~

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [January 17, 2022, 12:35am UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/5 "2022-01-17T00:35:16Z")

</div>

Are you using a PYNQ 2.7 image?

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [January 17, 2022, 1:54pm UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/6 "2022-01-17T13:54:20Z")

</div>

@jetlan @max90235 to clarify, if you start from a PYNQ SD card image 2.6 you should not update to pynq 2.7. The reason being is that the rootfilesystem and pynq requirement change, that is why you are seeing this error.

If you start from a PYNQ SD card image 2.6, you can only update the pynq package to 2.6.2.

My recommendation would be to flash a new SD card with the PYNQ SD card image 2.7

Mario

---

<div class="post-metadata">

**Author:** ![Chris](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@Chris](https://discuss.pynq.io/u/Chris)\
**Post date:** [January 23, 2022, 4:06am UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/7 "2022-01-23T04:06:15Z")

</div>

Hi @marioruiz, I started fresh with PYNQ SD card image 2.7 because it is the only version that I can download from [PYNQ - Python productivity for Zynq - Board](http://www.pynq.io/board.html). Do you know where I can download the older 2.6 images?  
If version 2.7 is the only option now, do you have a tutorial similar to this one for 2.7? ([The Composable Video Pipeline](https://discuss.pynq.io/t/the-composable-video-pipeline/2758))  
Thank you!

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [January 24, 2022, 7:58am UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/8 "2022-01-24T07:58:16Z")

</div>

You can install it in 2.7.

Follow the steps here [https://github.com/Xilinx/PYNQ\_Composable\_Pipeline/tree/v1.0.0-dev#install-composable-pipeline-on-your-board](https://github.com/Xilinx/PYNQ_Composable_Pipeline/tree/v1.0.0-dev#install-composable-pipeline-on-your-board), just a minor modification to grab the v1.0.0-dev branch. The version 1.0.0 will be released soon, but it is stable for you to use it.

```nohighlight
git clone https://github.com/Xilinx/PYNQ_Composable_Pipeline -b v1.0.0-dev
python3 -m pip install PYNQ_Composable_Pipeline/ --no-build-isolation
pynq-get-notebooks pynq-composable -p $PYNQ_JUPYTER_NOTEBOOKS

```

Mario

---

<div class="post-metadata">

**Author:** ![Chris](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@Chris](https://discuss.pynq.io/u/Chris)\
**Post date:** [January 25, 2022, 12:30am UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/9 "2022-01-25T00:30:12Z")

</div>

Thank you @marioruiz ! I no longer have code execution error although I have not gotten any video output to a screen yet. I will try different devices to ensure I have good input/output.  
BTW, can I use a USB webcam for this code? I ran with a USB webcam but not seeing any output.  
PYNQ\_Composable\_Pipeline/pynq\_composable/notebooks/custom\_pipeline/08\_webcam\_pipeline.ipynb

Chris

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [January 25, 2022, 6:28pm UTC](https://discuss.pynq.io/t/composable-overlay-v2-7/3389/10 "2022-01-25T18:28:23Z")

</div>

Yes, you can use a webcam. Did you try the standard notebooks that use a webcam, notebooks that are delivered in the PYNQ SD card image itself?
