I just got my first Raspberry Pi, and I wanted to use the latest version of Python, but I don't know how to set it up so that when I run python
in the command line, it will run Python 3.8.2
, rather than 3.7.3
. I downloaded the latest release of Python from the website, but it's not a setup script, and I'm not sure how to set it to the path otherwise. Is there a way to replace the default version on Raspbian with the version I've just downloaded?
This is my first time working with any kind of Linux distro, so when I look for the answer on SO or elsewhere, I don't quite know how to word it, and there are very different answers, which makes me think I'm not asking the right question. What could I be doing wrong, and how can I set it up correctly?
Thanks.