Python version required?

I set up a development environment on Ubuntu 16.04 a few weeks ago, to have a look at HomeAssistant. It’s all been working perfectly.

However, I’ve just updated to the latest in the dev branch, and when I try to run hass I now get an error:

Home Assistant requires at least Python 3.5.3

I have Python 3.5.2, and apt-get update / apt-get upgrade seems reluctant to give me a later version.

Any advice?

Yes, support for python 3.4 is being dropped entirely in the next release, which I guess is in the dev branch by now. The new minimum will be 3.5.3 - unfortunately Ubuntu 16.04 LTS is 3.5.2.

I upgraded my 16.04 to 17.10 yesterday which came along with version 3.6.3 of python. The upgrade was pretty smooth and all I needed to do was recreate my hass venv

I also needed to reinstall AppDaemon, and I found a couple of fixes were required that will be in the next beta.

It is possible to install python 3.6 in paralell with the existing 3.5.2 but that looked clunky and I wanted the default python3 to be the new version.

2 Likes

Thanks, much appreciated. I will upgrade to 17.10 too - that seems the simplest option.

1 Like

Confirmed: upgrading to Ubuntu 17.10 (with Python 3.6.3) fixed it.

1 Like