How to install Python using Hassio default install image

Having trouble installing python does anyone have any tips on how to accomplish this?

I think I figured it out. For those seeing this I ran apk add --no-cache python3

4 Likes

I’m guessing you’re not running Hass.io then?

I have built a system running on VirtualBox on Windows (Ubuntu 64-bit) using the official vmdk file from here https://github.com/home-assistant/operating-system/releases/download/4.10/hassos_ova-4.10.vmdk.gz

It appears I can’t run a Python script (first one) so I checked on the command line of the system whether it’s installed

python --version (also tried python3 --version)

and I get the not found error “/bin/ash: python: not found”) so I conclude Python’s not installed.

Tried installing via

sudo apt-get update
sudo apt-get install python3.8

How do I install Python?