How to install Python 3.5.3

For the new version of Home Assistant, version 0.65, Pyhton 3.5.3 is required. On my Pine64 version 3.5.2 is installed, how do I update to the new version? I tried google but I can’t find a tutorial that helps me.

Does anyone else have this problem?

What OS is your PINE running? You need to update it based on instructions specific to the OS

I went to 3.6 as there didn’t seem to be an easy upgrade to 3.5.3 on my ubuntu server.

The version is Debian Stretch/sid. I installed it with the Pine64 etcher fork.

I will have a look if 3.6 is a possibility for me

After looking into it more, my apt sources say I run on Ubuntu Xenial

Another update, Python 3.6 is installed but pip3 still uses Python 3.5 and fails to install.

Have you changed python3 to point to 3.6 and not 3.5?

I think you have to upgrade your venv to actually use the new python version, or probably safer, start a new venv from scratch.

Yeah wasn’t entirely sure if he was using a venv or not.

1 Like

You’re right, I didn’t think about that. Using venv just makes so much sense. :wink:

1 Like

I don’t us venv because I didn’t get it to work. Will try it again today!

If you need help with that, just ask.

Got homeassistant to work in an venv but it can’t seem so install the dependencies. The webpage works but libsoundtouch, zeroconf, netdisco and some others cant get installed. Is this common?

Fixed it!

I needed to install python3.6-dev, I had python3-dev install but that version didn’t work for 3.6.

Run the next commands to fix the problem.

apt install python3.6-dev
pip3 install zeroconf