Apple tv 4k

So i guess there is a known issue with tvos and being able to sucesfully scan and find an Apple TV 4k. So i found this article. https://crsantos.info/appletv-homeassistant/
However when i try installing atv.py i keep getting the message that implies i need to update pip (currently on 2.7). So install the recomended version but its still detecting version 2.7. Not sure what to do??