# Python3 Compatibility Support

**URL:** <https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678>\
**Category:** General Questions\
**Created:** [December 4, 2020, 12:03am UTC](https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678 "2020-12-04T00:03:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![blorp](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@blorp](https://forum.ubiquityrobotics.com/u/blorp)\
**Post date:** [December 4, 2020, 12:03am UTC](https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678/1 "2020-12-04T00:03:29Z")

</div>

Hi all,

I’m using the latest image from [https://downloads.ubiquityrobotics.com/pi.html](https://downloads.ubiquityrobotics.com/pi.html) and I’m wondering if there is any support for Python3. I see that Python3 is installed on the image, but the ROS appears to use Python 2.7.

Is using Python3 an option? Are there plans to migrate?

Thanks!

---

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [December 6, 2020, 7:20am UTC](https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678/2 "2020-12-06T07:20:37Z")

</div>

Please tell me the actual image name. ‘latest’ is a little bit odd right now as we just put on the site this image: [2020-11-07-ubiquity-xenial-lxde](https://ubiquity-pi-image.sfo2.cdn.digitaloceanspaces.com/2020-11-07-ubiquity-xenial-lxde-raspberry-pi.img.xz)

Is this the one you mean? We are trying to support the Pi4 mostly with this release so I do not know the python 3 install on that just offhand. Still, always please state the actual rev because if read in the future ‘latest’ is hard to know what was meant. Thanks.

---

<div class="post-metadata">

**Author:** ![blorp](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@blorp](https://forum.ubiquityrobotics.com/u/blorp)\
**Post date:** [December 7, 2020, 11:35pm UTC](https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678/3 "2020-12-07T23:35:01Z")

</div>

My apologies. Yes, I was referring to 2020-11-07-ubiquity-xenial-lxde.

I noticed the pi image has python 2.7 and 3.5, but all the ROS py modules appear to be 2.7 (/opt/ros/melodic/lib/python2.7/)

Is there any plan to update the libraries ROS uses to python 3?

---

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [December 7, 2020, 11:54pm UTC](https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678/4 "2020-12-07T23:54:29Z")

</div>

Hi @blorp,

Good question. The current image is Ubuntu Xenial (16.04) and ROS Kinetic. While it is theoretically possible to build parts of ROS Kinetic with Python 3, Python 2 is the default and supported version.

ROS Noetic (running on Ubuntu Focal 20.04) use exclusively Python 3. Our plan is to migrate to ROS Noetic, and with that we will be moving to Python 3, but not on the current Kinetic system.

Rohan

---

<div class="post-metadata">

**Author:** ![blorp](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@blorp](https://forum.ubiquityrobotics.com/u/blorp)\
**Post date:** [December 8, 2020, 7:02pm UTC](https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678/5 "2020-12-08T19:02:49Z")

</div>

Thanks, that makes sense. Do you know when you will be migrating to Noetic? Is that soon, in the next release, or further out?

---

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [December 10, 2020, 1:50am UTC](https://forum.ubiquityrobotics.com/t/python3-compatibility-support/678/6 "2020-12-10T01:50:02Z")

</div>

There are numerous issues in getting Noetic going. We may shoot for a 32bit version first then later a 64bit version for taking advantage of more of the power of the Pi4.

We have a strong want to at least have an image for Noetic in the next 2-3 months (perhaps 32 bit) but have not set a milestone date for using Noetic in the core Magni product as it is today.

This is being discussed actively these days but no solid timeline yet.
