It can get trickier if you have more than one python installation, as I do. I keep python 2.7, since there are still a few older programs I may run that don't run with python 3+. It turns out that the 2.7 installation added its directories to the system path, and the 3.8 installation did not.
To be on the safe side, I run python 3.8 from a batch file that removes the python 2.7 entries from the path and adds python 3.8 ones. This may be overkill, but better to be thorough. Here's my batch file for running python 3.8:
@echo off
setlocal
:: Remove Python 2.7 directories from path by adding "xxx" to their names
set _path=%PATH:C:\Python27=C:\Python27xxx%
path %_path%
:: Add Python 3.8 Scripts directory to PATH
path C:\Users\tom\AppData\Local\Programs\Python\Python38\Scripts;%PATH%
"C:\Users\tom\AppData\Local\Programs\Python\Python38\python.exe" %*
endlocal
I use setlocal/endlocal so the path doesn't get changed permanently.