Newbie installation problem

And another newbie who is also just a hardware designer not a linux expert just a linux monkey.
Please let me know if this is not the right thread and I should be posting somewhere else.
First I think I have things installed correctly: " python3 -m pip --version > pip 1.5.6 from /srv/homeassistant/lib/python3.4/site-packages (python 3.4)"

I followed all the steps and I am at step: “pip3 install homeassistant”.
I get the following error, any help would be appretiated.

Downloading/unpacking aiohttp==3.0.6 (from homeassistant)
Downloading aiohttp-3.0.6.tar.gz (738kB): 738kB downloaded
Running setup.py (path:/tmp/pip-build-f5q6w61u/aiohttp/setup.py) egg_info for package aiohttp
Traceback (most recent call last):
File “”, line 17, in
File “/tmp/pip-build-f5q6w61u/aiohttp/setup.py”, line 59, in
txt = (here / ‘aiohttp’ / ‘init.py’).read_text(‘utf-8’)
AttributeError: ‘PosixPath’ object has no attribute ‘read_text’
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File “”, line 17, in

File “/tmp/pip-build-f5q6w61u/aiohttp/setup.py”, line 59, in

txt = (here / 'aiohttp' / '__init__.py').read_text('utf-8')

AttributeError: ‘PosixPath’ object has no attribute ‘read_text’


Cleaning up…
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-f5q6w61u/aiohttp
Storing debug log for failure in /home/homeassistant/.pip/pip.log

Python 3.4 isn’t supported. You need to use Python 3.5.3 or later. There are notes about this on the installation pages, and on many of the recent blog posts and release notes.

How you do that upgrade depends on what operating system you’re using. If you’re on a Raspberry Pi then see here.

Thank you Tinkerer for diagnosing the problem and purposing a solution. I had to do a little tweaking of the file paths but got it to work.
Thanks again for your time and guidance!