python3 install pi

default /home/pi

wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz
tar xzvf Python-3.8.0.tgz
cd Python-3.8.0/
./configure
make -j4
sudo make install
or
sudo make altinstall

echo "alias python3=’/usr/local/opt/python-3.8.0/bin/python3.8′"  >> ~/.profile