# Could not install opencv with python3.7 PYNQ Z1

**URL:** <https://discuss.pynq.io/t/could-not-install-opencv-with-python3-7-pynq-z1/4705>\
**Category:** Support\
**Created:** [September 27, 2022, 9:45am UTC](https://discuss.pynq.io/t/could-not-install-opencv-with-python3-7-pynq-z1/4705 "2022-09-27T09:45:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lotfi](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@Lotfi](https://discuss.pynq.io/u/Lotfi)\
**Post date:** [September 27, 2022, 9:45am UTC](https://discuss.pynq.io/t/could-not-install-opencv-with-python3-7-pynq-z1/4705/1 "2022-09-27T09:45:45Z")

</div>

Hi,  
I am working on an object detection project and I need to install opencv on a PYNQ Z1 (2.7v) board with a particular version of python (3.7) and I tried `sudo python3.7 -m pip install opencv-python`, updated pip… but still having installation failure error `ERROR: failed building wheel for opencv-python`

note: It needs to be on python3.7 because it’s the only version compatible with tensorflow lite runtime wheel.

Thank you for your help

---

<div class="post-metadata">

**Author:** ![Lotfi](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@Lotfi](https://discuss.pynq.io/u/Lotfi)\
**Post date:** [September 27, 2022, 9:52am UTC](https://discuss.pynq.io/t/could-not-install-opencv-with-python3-7-pynq-z1/4705/2 "2022-09-27T09:52:36Z")

</div>

![screenshot](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/b/bd863e729d0a8711e092ca04f73301d20cdff017.png)  
This is the error
