# Can the PYNQ package be upgraded locally on the target board?

**URL:** <https://discuss.pynq.io/t/can-the-pynq-package-be-upgraded-locally-on-the-target-board/4430>\
**Category:** Support\
**Created:** [July 6, 2022, 2:45pm UTC](https://discuss.pynq.io/t/can-the-pynq-package-be-upgraded-locally-on-the-target-board/4430 "2022-07-06T14:45:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vhdlrocks](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/vhdlrocks/32/2006_2.png) [@vhdlrocks](https://discuss.pynq.io/u/vhdlrocks)\
**Post date:** [July 6, 2022, 2:45pm UTC](https://discuss.pynq.io/t/can-the-pynq-package-be-upgraded-locally-on-the-target-board/4430/1 "2022-07-06T14:45:17Z")

</div>

PYNQ Version: 2.6.0  
Board: Custom

The objective here is to upgrade to Python 3.8+ without rebuilding from Petalinux. PYNQ 2.7.0 supports the Python version I am looking for but I’ve been unsuccessful in finding any forum posts that outline a method for doing this.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![briansune](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/briansune/32/3087_2.png) [@briansune](https://discuss.pynq.io/u/briansune)\
**Post date:** [July 6, 2022, 3:28pm UTC](https://discuss.pynq.io/t/can-the-pynq-package-be-upgraded-locally-on-the-target-board/4430/2 "2022-07-06T15:28:53Z")

</div>

This will be highly not suggested as the prebuilt image is based on different environment so this is not a good idea to directly upgrade the 2.6 version to 2.7 without rebuilding the image.  
It is very easy and only less than 2 hours of install and build to create a custom image of 2.7.  
Of cause this is highly depended on the download speed of the Vivado package but once it is downloaded you can build it within 1 hours.

A step by step are posted [here](https://discuss.pynq.io/t/stuck-at-extract-yocoto/4134/8).

---

<div class="post-metadata">

**Author:** ![vhdlrocks](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/vhdlrocks/32/2006_2.png) [@vhdlrocks](https://discuss.pynq.io/u/vhdlrocks)\
**Post date:** [July 6, 2022, 3:50pm UTC](https://discuss.pynq.io/t/can-the-pynq-package-be-upgraded-locally-on-the-target-board/4430/3 "2022-07-06T15:50:41Z")

</div>

@briansune Ok, that answers my question and I appreciate it. If I need to update I will rebuild the 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:** [July 7, 2022, 7:37am UTC](https://discuss.pynq.io/t/can-the-pynq-package-be-upgraded-locally-on-the-target-board/4430/4 "2022-07-07T07:37:32Z")

</div>

Hi @vhdlrocks,

As Brian mentioned this is not recommended at all. Each version of the SD card image is associated to a particular PYNQ version, drivers, packages and Xilinx tools.  
Upgrading on the board could potentially work, however it is very likely you will find many issues.

Mario
