If you currently working on a lower version of Python like Python 2.x, and want to upgrade to the latest python version, you’ve come to the perfect guide.
The best way to upgrade python is by using the installer. Go to the python website and then download the latest version of python. Run the installer file that we downloaded and go through the next steps. Since you already got an older version of python installed on your machine, you will be prompted to update it.
Point to note: pip is used to upgrade python packages, not python itself. So using pip install python is wrong