# Ubuntu 20.04, Python3 and more

**URL:** <https://klipper.discourse.group/t/ubuntu-20-04-python3-and-more/356>\
**Category:** Developers\
**Created:** [June 6, 2021, 3:11am UTC](https://klipper.discourse.group/t/ubuntu-20-04-python3-and-more/356 "2021-06-06T03:11:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boilerbots](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@Boilerbots](https://klipper.discourse.group/u/Boilerbots)\
**Post date:** [June 6, 2021, 3:11am UTC](https://klipper.discourse.group/t/ubuntu-20-04-python3-and-more/356/1 "2021-06-06T03:11:43Z")

</div>

I want to experiment with Klipper and I had a Monoprice Mini Delta going unused. So I thought I would give it a try. However I am not going the easy route. I happened to have on hand an Odroid XU4 and I installed Ubuntu 20.04 server on it.

My first hurdle was to install Octo and that was interesting since 20.04 defaults to python3 only support. However I found good news that Octo has just switched to python3 moving forward. I pulled the latest code and it seems to work just fine.

Next I pulled the Klipper repo and found the python3 branch. I merged with the latest from master and made a few fixes and was able to build the firmware and run with Octo.

I could create a few pull requests if you are going to consider moving to python3 soon.

I might also be able to help put together the configuration and scripts necessary to build a Debian package. That would make it easier for people to install and update Klipper on most Debian based platforms. Would you be interested?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 6, 2021, 6:46am UTC](https://klipper.discourse.group/t/ubuntu-20-04-python3-and-more/356/2 "2021-06-06T06:46:52Z")

</div>

I’m running Ubuntu 20.04.2 LTS on a RPi3 with Octoprint and Klipper master branch. The install scripts take care of the correct Python via virtualenv.

So, from the end-user perspective, all is working as detailed in the given documentation. Using the python3 branch is not mandatory.

As far as I understood the python3 discussion, it offers some challenges and is in fact currently slower than python2.

---

<div class="post-metadata">

**Author:** ![koconnor](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@koconnor](https://klipper.discourse.group/u/koconnor)\
**Post date:** [June 6, 2021, 4:24pm UTC](https://klipper.discourse.group/t/ubuntu-20-04-python3-and-more/356/3 "2021-06-06T16:24:55Z")

</div>

> [@Boilerbots](#):
>
> I could create a few pull requests if you are going to consider moving to python3 soon.

If you have Python3 fixes, feel free to submit them as github Pull Requests against the work-python3-20200612 branch ( [Python3 support by KevinOConnor · Pull Request #3278 · Klipper3d/klipper · GitHub](https://github.com/KevinOConnor/klipper/pull/3278) ). This is no current timeframe for converting Klipper to Python3.

-Kevin
